为什么我会得到不同的结果?
class Car { has $.wheels; } my $my_car = Car.new( wheels => 4 ); say $my_car ; # Car.new(wheels => 4) say "$my_car"; # Car<94582644384824> put $my_car ; # Car<94582644384824>
我想在第二和第三种情况下,$my_car被字符串化,但结果意味着什么?