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

Re: Populating an array

by jeroenes (Priest)
on Mar 28, 2001 at 02:43 UTC ( #67669=note: print w/replies, xml ) Need Help??


in reply to Populating an array

Here comes another shameless plug: you can use this. With
$a = supersplit('/[\s\n]+/','\n\n',"/my/flat/file/");
You'll end up with a 2D array. See perlref how to cope with that.

Jeroen
"We are not alone"(FZ)

Log In?
Username:
Password:

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

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





    Results (109 votes). Check out past polls.

    Notices?