Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Help with Reading in of a flat file...

by Ineffectual (Scribe)
on Jan 18, 2002 at 04:49 UTC ( [id://139689]=note: print w/replies, xml ) Need Help??


in reply to Help with Reading in of a flat file...

Well, I'm not quite sure what you're doing here (when I usually read in text files I tend to use a on/off switch), but if you're having problems with characters denoting linebreaks, you can either do chomp(); to remove \n or if it's a MS Word document, it probably has a control-M in it, which can be parsed out using /r. Hope this helps.

'Fect
  • Comment on Re: Help with Reading in of a flat file...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-18 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found