in reply to Re: Re (tilly) 2: Yet another one-liner
in thread Yet another one-liner
but the latter is working for me on 5.6.0 and in a recent snapshot, while the former fails for me as well.perl -i.bak -e 'BEGIN{undef $/;} while (<>) { s//\n/; print }' foo*
I believe that this is a real bug.
UPDATE
The plot thickens. I saw your bug in both 5.6.0 and in
a recent development snapshot. Turns out I had only
tested the fixed version in a recent snapshot and in the
original Perl. It is broken in 5.6.0 for me as well.
However none were broken for Lexicon on NT running binary build 618 from ActiveState. It probably doesn't matter that he was running on a Japanese version of NT.
|
|---|