here a little demo of the constant folding to make it clearer
C:\tmp>perl -MO=Deparse -e "$_ =10; my $x = 'a' x 10" $_ = 10; my $x = 'aaaaaaaaaa'; -e syntax OK C:\tmp>perl -MO=Deparse -e "$_ =10; my $x = 'a' x $_" $_ = 10; my $x = 'a' x $_; -e syntax OK C:\tmp>
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
In reply to Re^3: Memory usage double expected -- further questions (deparse)
by LanX
in thread Memory usage double expected
by sectokia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |