Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Optimizing existing Perl code (in practise)

by Abigail-II (Bishop)
on Aug 19, 2002 at 15:37 UTC ( #191205=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $text = do {
            open my $fh => $file or die "open: $!\n";
            local $/;
            <$fh>;
        };
    
  2. or download this
        my $text = `cat $file`;
    
  3. or download this
        system mkdir => -p => $dir;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2019-05-20 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (127 votes). Check out past polls.

    Notices?