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
In reply to Slicing with Arrow-Operator possible in 5.12? by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |