Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Don't print on the last loop

by merlyn (Sage)
on Jun 13, 2005 at 18:35 UTC ( [id://466248]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://466248]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2025-05-24 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.