my $input = do { local $/; <AA> };
uses twice as much memory as
my $input; { local $/; $input = <AA>; }
but the files I use are usually to small to cause me to care.
In reply to Re^4: What is the right way of concatenating strings
by ikegami
in thread What is the right way of concatenating strings
by cool
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |