Standard CGI Variables (DCL symbols) ---------------------- $FACILITY == "%X00000003" $IDENT == "%X00000000" $RESTART == "FALSE" $SEVERITY == "1" $STATUS == "%X00030001" AUTH_TYPE == "" CONTENT_LENGTH == "0" CONTENT_TYPE == "" CSP_NONCE == "91cb1352c9fa17c88ae284b89d918bb" DOCUMENT_ROOT == "" GATEWAY_EOT == "$D-9DA784A74588B4BC5462468D-" GATEWAY_ESC == "$E-D6D4A7EA7CBB5863BDE5CE48-" GATEWAY_INTERFACE == "CGI/1.1" GATEWAY_MRS == "16492" GATEWAY_QIO == "30408" GATEWAY_SYMBOLS == "AUTH_TYPE,CONTENT_LENGTH,CONTENT_TYPE,CSP_NONCE,DOCUMENT_ROOT,GATEWAY_INTERFACE,GATEWAY_EOT,GATEWAY_ESC,GATEWAY_MRS,GATEWAY_QIO,HTTP_ACCEPT,HTTP_USER_AGENT,HTTP_ACCEPT_ENCODING,HTTP_HOST,PATH_INFO,PATH_ODS,PATH_TRANSLATED,QUERY_STRING,REMOTE_ADDR,REMOTE_HOST,REMOTE_PORT,REMOTE_USER,REQUEST_METHOD,REQUEST_PROTOCOL,REQUEST_SCHEME,REQUEST_TIME_GMT,REQUEST_TIME_LOCAL,REQUEST_URI,SCRIPT_FILENAME,SCRIPT_NAME,SERVER_ADDR,SERVER_CHARSET,SERVER_GMT,SERVER_NAME,SERVER_PROTOCOL,SERVER_PORT,SERVER_SIGNATURE,SERVER_SOFTWARE,UNIQUE_ID,KEY_COUNT" HTTP_ACCEPT == "*/*" HTTP_ACCEPT_ENCODING == "gzip, br, zstd, deflate" HTTP_HOST == "wasd.vsm.com.au" HTTP_USER_AGENT == "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" KEY_COUNT == "0" PATH_INFO == "/wasd_root/src/perl" PATH_ODS == "5" PATH_TRANSLATED == "WASD_ROOT:[src]perl" QUERY_STRING == "" REMOTE_ADDR == "3.142.195.79" REMOTE_HOST == "ec2-3-142-195-79.us-east-2.compute.amazonaws.com" REMOTE_PORT == "62590" REMOTE_USER == "" REQUEST_METHOD == "GET" REQUEST_PROTOCOL == "HTTP/1.1" REQUEST_SCHEME == "http:" REQUEST_TIME_GMT == "Mon, 23 Dec 2024 04:32:28 GMT" REQUEST_TIME_LOCAL == "Mon, 23 Dec 2024 15:02:28" REQUEST_URI == "/cgi-bin/CGIplusPM_example1.pl/wasd_root/src/perl" SCRIPT_FILENAME == "CGI-BIN:[000000]CGIPLUSPM_EXAMPLE1.PL" SCRIPT_NAME == "/cgi-bin/CGIplusPM_example1.pl" SERVER_ADDR == "119.252.17.13" SERVER_CHARSET == "ISO-8859-1" SERVER_GMT == "+10:30" SERVER_NAME == "wasd.vsm.com.au" SERVER_PORT == "80" SERVER_PROTOCOL == "HTTP/1.1" SERVER_SIGNATURE == "
WASD/12.3.0 Server at wasd.vsm.com.au Port 80" SERVER_SOFTWARE == "HTTPd-WASD/12.3.0 OpenVMS/IA64 SSL" UNIQUE_ID == "dfc8ae33e845e454c1b" ---------------------- Demonstrate that the CGIplus::var() function and $ENV associative array contents are identical ... $ENV{'SCRIPT_NAME'} |/cgi-bin/CGIplusPM_example1.pl| CGIplus::var('SCRIPT_NAME') |/cgi-bin/CGIplusPM_example1.pl| $ENV{'PATH_INFO'} |/wasd_root/src/perl| CGIplus::var('PATH_INFO'} |/wasd_root/src/perl| $ENV{'QUERY_STRING'} || CGIplus::var('QUERY_STRING') || SERVER_SOFT does not exist and looks like an empty string ... SERVER_SOFT || SERVER_SOFTWARE should exist ... SERVER_SOFTWARE |HTTPd-WASD/12.3.0 OpenVMS/IA64 SSL|