Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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
Node Status?
node history
Node Type: note [id://216449]
help
Chatterbox?
[holli]: yes, that' s the one.
[holli]: *shudder* electronic music? i'm more for the opposite :)

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-11-18 19:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?