in reply to Re^2: Why doesn't this work?
in thread Why doesn't this work?
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.
|
|---|