in reply to Re^5: Perl::Improved Volume 0, Number 0
in thread Perl::Improved Volume 0, Number 0
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Perl::Improved Volume 0, Number 0
by Aristotle (Chancellor) on Aug 30, 2004 at 21:08 UTC | |
|
Re^7: Perl::Improved Volume 0, Number 0
by ambrus (Abbot) on Aug 30, 2004 at 19:20 UTC | |
by hardburn (Abbot) on Aug 30, 2004 at 19:25 UTC | |
by Roy Johnson (Monsignor) on Aug 30, 2004 at 19:32 UTC |