Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: While Loops

by sundialsvc4 (Abbot)
on Jan 08, 2013 at 19:36 UTC ( #1012322=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($records_so_far ++ >= 100) {
      $records_so_far = 0;
      <<do something interesting here>>
    }
    
  2. or download this
    if ($records_so_far > 0) <<do it again i.e. call the same subroutine>>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012322]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2017-11-25 01:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (355 votes). Check out past polls.

    Notices?