On 2013-02-23 00:50, Jim Gibson wrote:

my $content = do { local $/; <$fh> };

Leaner written as:

  my $content; { local $/; $content= <$fh> }

--
Ruud


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to