How could I get the output of#! /usr/bin/perl use warnings ; use strict ; use Time::localtime ; my $start = ctime() ; my $one = 1 ; until ($one == 100001) { print $one++ ; print "\n" ; } my $end = ctime() ; print "Started $start\n Ended $end\n\n" ;
to print say every 500th addition?print $one++
In reply to Printing Some Output by ellem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |