On Sun 05 Sep, David Green wrote:
> On 2004/9/04, [EMAIL PROTECTED] (Jonathan Lang) wrote:
> (Nice Subject change, I almost missed it!) 
> 
> >Larry Wall wrote:
> > > Yow.  Presumably "nth" without an argument would mean the last.
> >
> >If it means the last, why not just use C<last>?
> 
> Conflict with "last LOOP"?  Hm, the context should be enough to 
> distinguish them, no?  (Hey, maybe they can be unified somehow -- 
> "last -1" to skip to the penultimate pass through the loop?  =P)
> 

That could be generalised, "next +1" skipping next iteration, "next -1"
"redo" this iteration, "first" redo the iteration from the beginning etc.

Richard

-- 
Personal     [EMAIL PROTECTED]            http://www.waveney.org
Telecoms     [EMAIL PROTECTED]  http://www.WaveneyConsulting.com
Web services [EMAIL PROTECTED]            http://www.wavwebs.com
Independent Telecomms Specialist, ATM expert, Web Analyst & Services

Reply via email to