go ahead... be a heretic | |
PerlMonks |
Re: referring to packages indirectlyby kwaping (Priest) |
on Oct 11, 2006 at 15:26 UTC ( [id://577621]=note: print w/replies, xml ) | Need Help?? |
This minor modification worked for me:
Read up on UNIVERSAL for more info. Update: I too needed to read up on UNIVERSAL, as can does exactly what the OP was looking for without my redundant ternary operator. --- It's all fine and dandy until someone has to look at the code.
In Section
Seekers of Perl Wisdom
|
|