in reply to Multi-line input fields
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Multi-line input fields
by david.jackson (Novice) on Oct 25, 2001 at 14:15 UTC |