#!/usr/bin/perl # Michael Tartaglia - Displaying Environment variables require template; template::startHTML("Program # 2","CGI Environment Variables"); # PRINT OUT CONTENTS OF ENV HASH print "\n"; foreach $key (sort(keys %ENV)) { @show = split(',', $ENV{$key}); print "", "\n" if ($ENV{$key} ne ""); } print "

$key
@show
\n"; template::endHTML();