Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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>;


Comment on Re: weird files
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
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 chilling in the Monastery: (6)
As of 2016-02-09 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (310 votes), past polls