Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: When -w and use strict aren't enough...by fletcher_the_dog (Friar) |
on Nov 04, 2003 at 18:40 UTC ( [id://304505]=note: print w/replies, xml ) | Need Help?? |
Even if there wasn't AUTOLOAD and eval, perl's loose typing makes it impossible to check method names at compile time. Consider this snippet:
$thing could be anything, there is no way at compile time for perl to know if $thing has a "to_xml" method
In Section
Seekers of Perl Wisdom
|
|