Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Populating an array

by c-era (Curate)
on Mar 28, 2001 at 01:57 UTC ( #67652=note: print w/replies, xml ) Need Help??


in reply to Populating an array

Set the input record separator to two newlines:
$/ = "\n\n"; # Sets the input record separator to two newlines my @array = <FILE>; # Put the file in an array $/ = "\n"; # Sets the input record separator to one newline (the defau +lt)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2021-05-11 17:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (120 votes). Check out past polls.

    Notices?