This involves a useless assignment and could be optimized to :{ my $name = <STDIN>; print $name; }
because the my variable was not offered life outside this scope.{ print <STDIN>; }
In reply to Will Perl 6 optimize away useless assignments? by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |