#!/usr/bin/perl -w # Display all erors to screen $|++; # autoflush buffers; use CGI::Carp 'fatalsToBrowser'; use strict; use DBI; use CGI qw/:standard/; my $infile = upload ('file') or die "File was not uploaded correctly\n"; my ($ip,$port,@services,@banners,@names,@ips,@ports); my %data; print header, start_html ("-title" => "Review Page"); ----------- perl stuff --------------- print ""; print "

"; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print "
IPS - @ips

"; print "
Cnames - @names

"; print "
Services - @services

"; print "
Banners - @banners


"; print "
"; start_form( { -action => "action_dbi.cgi", -enctype => "application/x-www-form-urlencoded", -method => "post" } ), h1( strong( "Does this format look correct?" ) ), checkbox_group(-name=>'question', -values=>['yes','no'], -default=>['yes'], p( " " ), p( input( { -type => "submit", -value => "submit"} ), ), #end p end_form, end_html;