Just another Perl shrine | |
PerlMonks |
Re: Handling Mac, Unix, Win/DOS newlines at readtime...by Zaxo (Archbishop) |
on Sep 16, 2002 at 01:59 UTC ( [id://198135]=note: print w/replies, xml ) | Need Help?? |
Your proposal looks fine. Ideally, your file transfers should be in ASC mode but you can't rely on people doing that. You could take the opportunity to translate lineends to native format for the server. Do you mean ... die "$filename can't... ? After Compline,
In Section
Seekers of Perl Wisdom
|
|