> The reason this has not been built into the language is that there would
> be an overhead associated with each loop to maintain this variable.  The
> Perl5 team felt that this was not acceptable given that most loops do
> not need this information and, and you have noted, it's trivial to do
> the work yourself if necessary, if not always terribly elegant.
>
> Paul Johnson - [EMAIL PROTECTED]
> http://www.pjcj.net


This is exactly what I was looking for. Thank you :)

Peter

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to