Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Read from a file one line at a time?

by Anonymous Monk
on Feb 21, 2012 at 16:27 UTC ( #955348=note: print w/ replies, xml ) Need Help??


in reply to Read from a file one line at a time?

I don't think I was entirely clear. What I need to do is read a single line of multiple strings into an array, so is there a way to do that?


Comment on Re: Read from a file one line at a time?
Re^2: Read from a file one line at a time?
by john.perry.14 (Initiate) on Feb 21, 2012 at 16:28 UTC

    Sorry. Was not logged in. My post

Re^2: Read from a file one line at a time?
by DStaal (Chaplain) on Feb 21, 2012 at 22:07 UTC

    Sure. But what it is depends heavily on the format of the strings and how you want them in the array. Start with the other suggestions in this thread (for how to read each line), and try to figure out something. If/when that doesn't work, post what you've got and ask for help.

    We hate doing things for you here. We love to help though.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-12-26 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (165 votes), past polls