If I execute this perl script
de010597> cat x.pl
#!/usr/bin/perl
use strict;
open( HO, ") { print "$_"; }
on a text mount with an input file that has CRLF line endings perl
should treat this as a text file and strip the CR. Only if I use
binmode HO should I see the CR. But it does
Lemke, Michael SZ/HZA-IOM1 schaeffler.com> writes:
>
> If I execute this perl script
>
>de010597> cat x.pl
>#!/usr/bin/perl
>use strict;
>
>open( HO, "while () { print "$_"; }
>
> on a text mount with an input file that has C
2 matches
Mail list logo