![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: Don't print on the last loopby merlyn (Sage) |
on Jun 13, 2005 at 18:35 UTC ( [id://466248]=note: print w/replies, xml ) | Need Help?? |
That's one of the reasons I like Template Toolkit's idea of the "loop control variable". You can ask "IF loop.last ...". Very slick.
-- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|