laziness, impatience, and hubris | |
PerlMonks |
Re^2: strings->can->isa but numbers->can't?by djerius (Beadle) |
on Apr 26, 2012 at 17:37 UTC ( [id://967411]=note: print w/replies, xml ) | Need Help?? |
Strings are simply interpreted as package names when you call a method on them. This is how Foo->new works in the first place. D'oh! Of course! I even use that behavior on occasion. Thanks for the reminder.
In Section
Seekers of Perl Wisdom
|
|