chomp( my $var = <$fh> );
and
really more tedious and uglier thanchomp( my $dst = $src );
my $var = chomp( scalar ( <$fh> ) );
and
my $dst = chomp( $src );
In reply to Re^4: No garbage collection for my-variables
by ikegami
in thread No garbage collection for my-variables
by betterworld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |