Could you provide us with an example which goes wrong?
Possible solutions, (if needed)
Could it be you are not using chomp at all, but setting $/ to get rid of the line-endings?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Dealing with files with differing line endings
by LanX
in thread Dealing with files with differing line endings
by dd-b
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |