Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: weird files

by danger (Priest)
on Nov 29, 2002 at 09:17 UTC ( #216449=note: print w/replies, xml ) Need Help??


in reply to weird files

Set the  $/ variable to "paragraph" mode and then just read the file to your array:

$/ = ""; my @file = <FILE>;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2023-03-21 05:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?