Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: multi-line parsing

by AnomalousMonk (Bishop)
on Mar 31, 2009 at 21:34 UTC ( #754544=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $file_contents = do { local $/;  <$file_handle> };
    
  2. or download this
        my $file_contents = do { local $/;  <FILEHANDLE> };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2022-06-27 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (86 votes). Check out past polls.

    Notices?