#!/perl/bin/perl use CGI qw/:standard/; use CGI::Carp qw/fatalsToBrowser/; use strict; use CGI; my $got_img=param('myimage'); my $count; print header(); print "test
"; print "
1
\n"; print "2
\n"; print "3
\n"; print "4
\n"; print "5
\n"; print "
\n"; print "** $got_img **
"; for ($count=0; $count<$got_img; $count++) { print "$got_img \n"; }