Thomas Bätzler wrote:
my $data = do { local $/ = undef; <$fh>; };
Especially for big files, that is better written as: my $data; { local $/; $data = <$fh>; } -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/