use LWP::UserAgent; use HTTP::Request::Common qw(POST); $ua = LWP::UserAgent->new; $ua->agent("Mozilla/4.0 (compatible; MSIE 5.0; Windows 95)"); &ParseForm; ### this sub-routine not included here ### $input = $key{'input'}; $output = $key{'output'}; if( -r $input ){ open(IN, "<$input") || print "$!"; @list = ; close(IN); }else{ print "

Could not read from INPUT file

"; exit; } &ParseList; exit; sub ParseList { foreach $line (@list){ my($first, $last) = split(/\|/, $line); my $content = AimAgent($first,$last); if( $content =~ /