Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: reading a file

by pinetree (Scribe)
on Aug 23, 2001 at 07:05 UTC ( [id://107231]=note: print w/replies, xml ) Need Help??


in reply to Re: reading a file
in thread reading a file

I'd also strip out new lines after reading the file in since

11111111****2222222
2222222222****33
3333

will result in ("11111111", "2222222\n2222222222", "33\n3333")

assuming that you didn't want the line break in the data. Do you?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-20 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found