in reply to Re^2: Win32/Linux portability
in thread Win32/Linux portability
I thought about something like:
No need for that. See perlintro and use
s/\r\n\z//; # or $line =~ s/\r\n\z//;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Win32/Linux portability
by thelycaeum (Initiate) on Oct 01, 2012 at 19:38 UTC | |
by jdporter (Paladin) on Oct 01, 2012 at 19:54 UTC | |
by thelycaeum (Initiate) on Oct 01, 2012 at 20:13 UTC | |
by BrowserUk (Patriarch) on Oct 01, 2012 at 20:26 UTC | |
by jdporter (Paladin) on Oct 01, 2012 at 21:00 UTC |