http://qs321.pair.com?node_id=820149


in reply to Re: Restoring the magic to the _ filehandle in Perl 5.8.9
in thread Restoring the magic to the _ filehandle in Perl 5.8.9

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