Better still, have .. do some magic when unary to go right to the end of the array being indexed:
$a[ 5 .. ]; # Equivilent to $a[ 5 .. $#a ]
Though I have no idea how hard that would be to add, or what compatibility issues come up.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In reply to Re^6: Perl::Improved Volume 0, Number 0
by hardburn
in thread Perl::Improved Volume 0, Number 0
by Wassercrats
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |