in reply to How to use -0 (zero) option in perl
$ perl -MO=Deparse,-p -0777 -e 'print' BEGIN { $/ = undef; $\ = undef; } '???'; -e syntax OK $ perl -MO=Deparse,-p -0777 -pe 'print' BEGIN { $/ = undef; $\ = undef; } LINE: while (defined(($_ = <ARGV>))) { '???'; } continue { print($_); } -e syntax OK $ perl -MO=Deparse,-p -0777 -ne 'print' BEGIN { $/ = undef; $\ = undef; } LINE: while (defined(($_ = <ARGV>))) { '???'; } -e syntax OK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to use -0 (zero) option in perl
by Anonymous Monk on Jul 07, 2009 at 12:47 UTC |