$thing could be anything, there is no way at compile time for perl to know if $thing has a "to_xml" methodsub foo{ my $thing = shift; print $thing->to_xml; }
In reply to Re: When -w and use strict aren't enough...
by fletcher_the_dog
in thread When -w and use strict aren't enough...
by RMGir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |