I\'ve used Perl a bit for small applications and test code, but I\'m new to networking and CGI.
I get how to make the header of a request (using CGI.pm and printing
They're supplied as environment variables, such as
HTTP_HEADERATTRIBUTE=value
You may have to do something to configure your web server to supply such a variable, though.