in reply to Don't print on the last loop

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
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: Don't print on the last loop
by omega_monk (Scribe) on Jun 14, 2005 at 13:40 UTC
    Thanks for the pointer here.

    I checked it out a bit, and I am thinking that this will suite another project that I will be starting on soon. So, thanks again.