Could you perhaps give an example of your input? What type of machine is the data file generated on? What type of line endings are on the data file? What line endings are expected by the script ($/ variable)? Is binmode set?
Update: I missed the same thing as FunkyMonk. Unstruck my response.
--MidLifeXis
In reply to Re: foreach - adding newlines?
by MidLifeXis
in thread foreach - adding newlines?
by nitehawk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |