LanX has asked for the wisdom of the Perl Monks concerning the following question:
I remember I read somewhere that perl5porters received a patch to enable it and that'll be probably enabled in 5.12.no warnings; $\="\n"; my $ar=[1..9]; print $ar->[1]; print $ar->[4..5]; # produces warning print @$ar[4..5]; __END__ 2 1 56
Couldn't find any infos on this, does anyone have a deeper insight or maybe a link?
Cheers Rolf
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Slicing with Arrow-Operator possible in 5.12?
by haoess (Curate) on Dec 22, 2008 at 19:31 UTC | |
by LanX (Saint) on Dec 22, 2008 at 22:35 UTC | |
by dragonchild (Archbishop) on Dec 23, 2008 at 17:40 UTC |