File: envxml.cgi

package info (click to toggle)
libxml-treepp-perl 0.43-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 680 kB
  • sloc: perl: 810; xml: 58; sh: 41; makefile: 2
file content (10 lines) | stat: -rwxr-xr-x 177 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/perl

use strict;
use XML::TreePP;

my $tree = { env => \%ENV };
my $tpp = XML::TreePP->new();

print "Content-Type: text/xml\n\n";
print $tpp->write( $tree ), "\n";