Ah, sorry - I don't know what I did wrong while testing this. The documentation is correct and neither the limit nor the forced list context are needed:
> perl -e "{$/=undef, $_=<>} my $count=split /\n/; print $count" \boot +.ini
works just as well, and just as documented.
In reply to Re^3: Why doesn't this work?
by Corion
in thread Why doesn't this work?
by perl-diddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |