summaryrefslogtreecommitdiff
path: root/docs/cgi-examples/printenv
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cgi-examples/printenv')
-rw-r--r--docs/cgi-examples/printenv13
1 files changed, 0 insertions, 13 deletions
diff --git a/docs/cgi-examples/printenv b/docs/cgi-examples/printenv
deleted file mode 100644
index 207074361a..0000000000
--- a/docs/cgi-examples/printenv
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/local/bin/perl
-##
-## printenv -- demo CGI program which just prints its environment
-##
-
-print "Content-type: text/plain\n\n";
-foreach $var (sort(keys(%ENV))) {
- $val = $ENV{$var};
- $val =~ s|\n|\\n|g;
- $val =~ s|"|\\"|g;
- print "${var}=\"${val}\"\n";
-}
-