Syntactic Confectionery Delight | |
PerlMonks |
Will Perl 6 optimize away useless assignments?by princepawn (Parson) |
on Sep 03, 2001 at 20:26 UTC ( [id://109889]=perlquestion: print w/replies, xml ) | Need Help?? |
princepawn has asked for the wisdom of the Perl Monks concerning the following question:
Let's say I have a naive code generator which generated this:
This involves a useless assignment and could be optimized to : because the my variable was not offered life outside this scope.
Back to
Seekers of Perl Wisdom
|
|