in reply to
Keyword last for loops
perldoc -f last
What happens when you try it?
More looping examples in
perldoc perlsyn
Comment on
Re: Keyword last for loops
In Section
Seekers of Perl Wisdom