summaryrefslogtreecommitdiffstats
path: root/test/printenv.pl
blob: a24e98bf3e6e815a20bf2a03d78ac29dcdc75789 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl

binmode(STDOUT);
binmode(STDIN);

print "Content-Type: text/plain\r\n";
print "\r\n";

foreach $key (sort (keys (%ENV))) {
    print "$key=$ENV{$key}\n";
}