parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

$env_hash

Pavel Sochnev 31.05.2005 03:24 / 31.05.2005 03:27

$env_hash[
   $.QUERY_STRING[...your query string...]
   $.REQUEST_METHOD[GET]
]

$f[^file::cgi[script.pl;$env_hash]]
If something comes to Parser as POST it means [by default] that Parser says to Perl that it's POST (and not GET as you tell Perl with your QUERY_STRING). Another variant is to use HTTP_POST instead of QUERY_STRING.

Rule:
if GET, then QUERY_STRING
if POST, then HTTP_POST

2PAF: I don't know if it is a feature or a bug.