There ar some special values that you can set $/ that give you various useful behaviours.
Like all Perl special variables, you'll usually want to alter its value localised in a block.
my $text = do { local $/; $text = <FILE> };
Blessed Be
The Pixel
In reply to Re: Multi-line input fields
by pixel
in thread Multi-line input fields
by david.jackson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |