in reply to Printing Some Output
#! /usr/bin/perl use warnings ; use strict ; use Time::localtime ; my $start = ctime() ; for (my $one=1; $one<100001; $one++){ print $one."\n" if not $one % 500; } my $end = ctime() ; print "Started $start\n Ended $end\n\n" ;
|
|---|