#!/usr/local/bin/perl ###################################################################### # Initsiering ###################################################################### require "/net/www/share/cgi-bin/cgi-lib.pl"; $DEBUG=0; # Initsiering av html-filen ###################################################################### print &PrintHeader; # Innlesing av variabler ###################################################################### &ReadParse;### Read the GET or POST data into %in if ($in{"DEBUG"}) { print "
\n\n\n"; } # Slutt på innlesning av variabler. ###################################################################### # Do's and dont's ######################################################################## # if (!($in{"forel"}) && !($in{"ovelser"}) && !($in{"ellers"}) && !($in{"positiv"})) { # print "
DEBUG INFORMATION\n\n"; print "ARGUMENTS:\n----------\n"; print "ARGC = '$#ARGV'\n"; foreach $e (@ARGV) { printf ("%-20s = \'%s\'\n", "ARGV", $e); } print "\nENVIRONMENT VARIABLES:\n----------------------\n"; foreach $key (sort keys(%ENV)) { printf ("%-20s = \'%s\'\n", $key, $ENV{$key}); } print "\nThe decoded arguments:\n----------------------\n"; foreach $key (sort keys(%in)) { printf ("%-20s = \'%s\'\n", $key, $in{$key}); } print "
\n
\n" .$msg;