Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Restoring the magic to the _ filehandle in Perl 5.8.9

by clinton (Priest)
on Jan 28, 2010 at 13:27 UTC ( #820149=note: print w/ replies, xml ) Need Help??


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


Comment on Re^2: Restoring the magic to the _ filehandle in Perl 5.8.9
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://820149]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2014-10-21 01:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (95 votes), past polls