Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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?
Replies are listed 'Best First'.
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.

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

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 musing on the Monastery: (7)
As of 2015-08-03 01:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (19 votes), past polls