good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Dynamic Package Name & Subroutine Callby ikegami (Patriarch) |
on Dec 16, 2012 at 13:55 UTC ( [id://1009062]=note: print w/replies, xml ) | Need Help?? |
The following works with strict on:
The same, but more readable:
Then again, explicitly using no strict 'refs'; might be better a good thing. That said, it looks like you have a method call (to which you're passing the wrong package name). If so, you should be using
In Section
Seekers of Perl Wisdom
|
|