use strict; use warnings; my $number=8; for( my $i=0; $i<20; $i++ ){ print "present value of the number is: $number\n"; $number++; }