|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^2: Restoring the magic to the _ filehandle in Perl 5.8.9by clinton (Priest) |
| on Jan 28, 2010 at 13:27 UTC ( #820149=note: print w/ replies, xml ) | Need Help?? |
|
Good thinking. Unfortunately, other code of mine relies on sub _ being present at compile time: it doesn't immediately localise those phrases, but wraps each phrase in an object which i18n's the phrase on stringification. It turns out that, of all the modules I'm using in my app, only File::Find and File::MMagic use -l _, so I may just preload those. thanks for the tip, Ikegami
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||