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?? |
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
In Section
Seekers of Perl Wisdom
|
|