The point is that all three behaviours (line-by-line, paragraph-at-a-time and all-in-one) all have their uses in solving different problems, so those nice Perl5 Porters have given us the flexibility to use all three (and a whole bunch more by setting $/ to the appropriate value).
As plaid notes, this is all explained in perlman:perlvar.
--In reply to Re: Altering the value of
by davorg
in thread Altering the value of "$/"
by greenhorn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |