Jenda Krynicky wrote:
my $data = do {local $/; <DATA>};
is better written as
my $data; { local $/; $data = <DATA> };
For smallish files it doesn't matter much.
--
Ruud
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
