Standard CGI Variables (DCL symbols) ---------------------- $FACILITY == "%X00000003" $IDENT == "%X00000000" $RESTART == "FALSE" $SEVERITY == "1" $STATUS == "%X00030001" AUTH_TYPE == "" CONTENT_LENGTH == "0" CONTENT_TYPE == "" CSP_NONCE == "b887d45400bd55fa7c88ca180010bc7" DOCUMENT_ROOT == "" GATEWAY_EOT == "$D-8AE260FD1731839A99EF3453-" GATEWAY_ESC == "$E-9E881D78F9F6B11962A31606-" GATEWAY_INTERFACE == "CGI/1.1" GATEWAY_MRS == "16492" GATEWAY_SYMBOLS == "AUTH_TYPE,CONTENT_LENGTH,CONTENT_TYPE,CSP_NONCE,DOCUMENT_ROOT,GATEWAY_INTERFACE,GATEWAY_EOT,GATEWAY_ESC,GATEWAY_MRS,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 == "18.191.215.30" REMOTE_HOST == "ec2-18-191-215-30.us-east-2.compute.amazonaws.com" REMOTE_PORT == "21633" REMOTE_USER == "" REQUEST_METHOD == "GET" REQUEST_PROTOCOL == "HTTP/2" REQUEST_SCHEME == "https:" REQUEST_TIME_GMT == "Fri, 22 Nov 2024 10:58:06 GMT" REQUEST_TIME_LOCAL == "Fri, 22 Nov 2024 21:28:06" 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 == "443" SERVER_PROTOCOL == "HTTP/1.1" SERVER_SIGNATURE == "
WASD/12.2.6 Server at wasd.vsm.com.au Port 443" SERVER_SOFTWARE == "HTTPd-WASD/12.2.6 OpenVMS/IA64 SSL" UNIQUE_ID == "2a22e71d374252890b8" ---------------------- 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.2.6 OpenVMS/IA64 SSL|