in reply to
Evaluate variable while using
The problem is that
my $str = "Hello ".$a;
[download]
populates $str using the current value of $a. $str doesn't remember $a was used to construct it, so changing $a doesn't have any influence on its value.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Comment on
Re: Evaluate variable while using
Select
or
Download
Code
In Section
Seekers of Perl Wisdom