Subject: | Array::RefElem no value after binding variable |
Hello!
The code below shoud output 'a' on the first "say" line.
use Array::RefElem qw/av_store/;
use feature qw/say/;
my(@a);
my $a;
$a[3] = 'a';
av_store(@a, 3, $a);
say $a; # should say 'a'
$a[3] = 'b';
say $a; # 'b'
$a ='c';
say $a; # 'c'
say @a; # 'c'
Best regards
Hans Ginzel