Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 contemplating the Monastery: (6)
As of 2015-07-05 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls