Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Restoring the magic to the _ filehandle in Perl 5.8.9

by clinton (Priest)
on Jan 27, 2010 at 17:11 UTC ( #819975=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
        # set current lang to spanish
        print _('Hello!');
        > íHola!
    
  2. or download this
    
            *::_ = sub {
    ...
                $Burro::i18n::Current_Lang->maketext( map {$_} @_ );
            };
    
  3. or download this
    
         stat 'foo' && -e _ && -r _;
    
  4. or download this
    
    
    ...
       print lstat 'bar' && -l _;   # Undefined subroutine &main::_ 
       print "\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://819975]
Approved by johngg
Front-paged by ikegami
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2014-07-25 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls