#!/usr/bin/perl use CGI 'cgi'; print "Content-type: text/html\n\n"; my $cgi= new CGI; my %input= $cgi -> Vars(); $user= $input{'user'}; $pass= $input{'password'}; $action= $input{'action'}; my $username = getpwuid $<; if ($action eq 'Click to Send'){ print "You were $username
"; # ##### stumped here ################## # print "You are now $username
"; }else{ print< You are now $username

Name:
Password:
EOHTML }