Skip to content

Instantly share code, notes, and snippets.

@rjp
Created April 23, 2013 12:43
Show Gist options
  • Save rjp/5443257 to your computer and use it in GitHub Desktop.
Save rjp/5443257 to your computer and use it in GitHub Desktop.
#! /usr/bin/perl
use Data::Dumper;
use CGI;
my $a = new CGI;
print $a->header('text/plain');
print Dumper($a);
print "XX ", $a->http('Host'), "\n";
print "YY ", $ENV{'HTTP_HOST'}, "\n";
print "ZZ ", $a->http('Authorization'), "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment