Skip to content

Instantly share code, notes, and snippets.

@matoken
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matoken/ed68bd7182ffddee4801 to your computer and use it in GitHub Desktop.
Save matoken/ed68bd7182ffddee4801 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use strict;
use warnings;
open my $OUT, ">> /home/mk/public_html/lingr.log";
foreach my $key (keys %ENV) {
print $OUT "$key$ENV{$key}\n";
}
close $OUT;
print "Content-type: text/plain\n\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment