Below is the output from your script. Please tell me if I am looking at the wrong thing.

1019851644.86502 Fri Aug 19 07:46:53 2011

$VAR1 = bless( { '.parameters' => [], 'use_tempfile' => 1, '.etab' => 1, '.charset' => 'ISO-8859-1', '.fieldnames' => {}, '.elid' => 1, 'param' => {}, 'escape' => 1, '.header_printed' => 1 }, 'CGI' );

SCRIPT_NAME /cgi-bin/test.pl SERVER_NAME irvy.com.au HTTP_REFERER http://irvy.com.au/makeBooking.xml SERVER_ADMIN webmaster@irvy.com.au HTTP_ACCEPT_ENCODING gzip,deflate,sdch HTTP_CONNECTION keep-alive REQUEST_METHOD GET HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 SCRIPT_FILENAME /home/irvy1607/public_html/cgi-bin/test.pl SERVER_SOFTWARE Apache HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.3 QUERY_STRING REMOTE_PORT 46728 HTTP_USER_AGENT Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1 SERVER_PORT 80 SERVER_SIGNATURE HTTP_ACCEPT_LANGUAGE en-US,en;q=0.8 HTTP_COOKIE cpsession=irvy16076162218125107012768877432565436767357127847170640561398598858064; logintheme=cpanel; langedit=; lang=; cprelogin=no REMOTE_ADDR 115.70.36.80 SERVER_PROTOCOL HTTP/1.1 PATH /usr/local/bin:/usr/bin:/bin REQUEST_URI /cgi-bin/test.pl? GATEWAY_INTERFACE CGI/1.1 SERVER_ADDR 76.74.128.190 DOCUMENT_ROOT /home/irvy1607/public_html HTTP_HOST irvy.com.au UNIQUE_ID Tk4U7UxKgL4AAEejcWcAAAAb


In reply to Re^6: %ENV is returning a blank by irvy
in thread %ENV is returning a blank by irvy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.