in reply to Re^6: Perl::Improved Volume 0, Number 0
in thread Perl::Improved Volume 0, Number 0
That would be difficult, because 5..$#a is not always used in such a context (subscripting). It is used in other code like @data[sort { $data[$a]<=>$data[$b] } 0..$#data] where it would be difficult to derive the endpoint automatically.
Btw I think perl6 will have infinite ranges, which is a good idea.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Perl::Improved Volume 0, Number 0
by hardburn (Abbot) on Aug 30, 2004 at 19:25 UTC | |
|
Re^8: Perl::Improved Volume 0, Number 0
by Roy Johnson (Monsignor) on Aug 30, 2004 at 19:32 UTC |