Standard CGI Variables (DCL symbols) ---------------------- $FACILITY == "%X00000003" $IDENT == "%X00000000" $RESTART == "FALSE" $SEVERITY == "1" $STATUS == "%X00030001" AUTH_TYPE == "" CONTENT_LENGTH == "0" CONTENT_TYPE == "" CSP_NONCE == "02bf8f1f473e81beb8b375fc7d138bb" DOCUMENT_ROOT == "" GATEWAY_EOT == "$D-3A3FCE36B0C6DF3F87D5F874-" GATEWAY_ESC == "$E-9C69D8E579AB506271A6587B-" 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 == "/ht_root/src/perl" PATH_ODS == "5" PATH_TRANSLATED == "WASD_ROOT:[src]perl" QUERY_STRING == "" REMOTE_ADDR == "18.191.116.61" REMOTE_HOST == "ec2-18-191-116-61.us-east-2.compute.amazonaws.com" REMOTE_PORT == "20161" REMOTE_USER == "" REQUEST_METHOD == "GET" REQUEST_PROTOCOL == "HTTP/1.1" REQUEST_SCHEME == "http:" REQUEST_TIME_GMT == "Mon, 23 Dec 2024 04:58:31 GMT" REQUEST_TIME_LOCAL == "Mon, 23 Dec 2024 15:28:31" REQUEST_URI == "/cgi-bin/CGIplusPM_example1.pl/ht_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 == "e20dc6419704417b245" ---------------------- 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'} |/ht_root/src/perl| CGIplus::var('PATH_INFO'} |/ht_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|