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

Re: How to store multiples lines/records in a array

by marto (Archbishop)
on Jun 28, 2013 at 17:32 UTC ( #1041295=note: print w/replies, xml ) Need Help??

in reply to How to store multiples lines/records in a array

In addition to what toolic said, you seem not to be learning from your past experience. In one of your previous threads I gave you links to help learn the basics. Here you seem to be trying things at random and reporting that they don't do what you want. This is a poor strategy, and while it may seem to take less effort than actually learning how to use the tools you've chosen to work with, trust me, it doesn't.

Here you can't have posted the code which produces this output, you split on commas when your input doesn't have any, you don't ask open to tell you why it may fail (e.g. or die "cannot open < $Filename: $!";), and crucially there is no print or say!

In the interests of actually getting better at this I suggest you read and more importantly understand the links provied in your previous thread. When posting it's important to show your code, the actual code in you're running, the actual input data and any output or errors generated. This is all covered in How do I post a question effectively?.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041295]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2018-06-19 14:42 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (114 votes). Check out past polls.