Thread printenv (4 answers)
Opened by Sekte at 2009-11-21 18:11

pq
 2009-11-21 18:16
#128402 #128402
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
use Data::Dumper;
local $Data::Dumper::Sortkeys = 1;
my $dump = Dumper \%ENV;
for ($dump) {
  s/&/&/g;
  s/</&lt;/g;
  s/>/&gt;/g;
}
print "<pre>$dump</pre>";

sollte reichen
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread printenv