in reply to Printing Some Output
I guess you haven't heard of modulo arithmetic... :-) Try this:
print $one++ if ($one % 500) == 0;
Peter @ Berghold . Net
Sieze the cow! Bite the day!
Test the code? We don't need to test no stinkin' code! All code posted here is as is where is unless otherwise stated.
Brewer of Belgian style Ales
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Printing Some Output
by Limbic~Region (Chancellor) on Aug 01, 2003 at 15:50 UTC | |
by blue_cowdawg (Monsignor) on Aug 01, 2003 at 17:28 UTC |