Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Moose 'clone' Constructorby huck (Prior) |
on Jul 05, 2018 at 06:25 UTC ( [id://1217925]=note: print w/replies, xml ) | Need Help?? |
And, as expected, this didn't work: but this does
as to "XYZ"->$x("fred"), I would not have expected it to work, becuase "XYZ" is not blessed to anything, but seeing that it does, it behaves like i expected, with $thing->method($arg) calling &method as method($thing,$arg)
In Section
Seekers of Perl Wisdom
|
|