HTML Stuff
Perl Stuff inside allExaminations.pl my $q = new CGI; # # Look for an action value and return it # sub GetAction { my $q = shift(); my $cgi_parms = $q->Vars(); foreach my $key (keys(%$cgi_parms)) { if ($key =~ /^action/) { return $key; } } } if(GetAction($q) =~ /action_logout/) { DoLogoutSub(); }