Dr.Ruud wrote:
Gunnar Hjalmarsson schreef:my $content = do { local $/; <$file> };That idiom uses an extra buffer, as big as the file.my $content; { local $/; $content = <file> }
Does it? In that case, why is it mentioned at http://faq.perl.org/perlfaq5.html#How_can_I_read_in_an
-- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/