#! /usr/bin/perl

print "Content-type: text/html\n\n";
print "<html><head><title>Environmental Variables</title></head>\n";
print "<body bgcolor=\"#6666CC\">\n";
print "<pre>\n";

# print name of environmental variable => value of that variable
# access env variables using $ENV{name_of_variable}
   print "<b>Value of cookie from *different* domain</b>  =>  $ENV{'HTTP_COOKIE'}\n";

print "</pre></body></html>\n";

exit;
