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
In reply to Re: Printing Some Output
by blue_cowdawg
in thread Printing Some Output
by ellem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |