Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: need help to create array dynamically

by aitap (Deacon)
on Jan 23, 2013 at 19:36 UTC ( #1015006=note: print w/ replies, xml ) Need Help??


in reply to Re^2: need help to create array dynamically
in thread need help to create array dynamically

Well, split your example by \n. You may also want to play with $/ to split a sequence of these examples from a file to smaller parts to be splitted by \n. Or you may read your file by for lines if you check the value of the $. variable.

Sorry if my advice was wrong.


Comment on Re^2: need help to create array dynamically
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015006]
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 2014-10-26 06:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (152 votes), past polls