File: printenv

package info (click to toggle)
libcgi-test-perl 1.111-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 380 kB
  • sloc: perl: 2,572; sh: 96; makefile: 2
file content (12 lines) | stat: -rwxr-xr-x 165 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

$PERL -x <<'END_OF_SCRIPT'
#!perl

print "Content-type: text/plain\r\n\r\n";
while (($key, $val) = each %ENV) {
	print "$key = $val\n";
}

END_OF_SCRIPT