We don't bite newbies here... much | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
This behavior is naively unexpected by me; can somebody please explain this mechanism? You're expecting too much from a debugging feature of CGI.pm The CGI protocol communicates through %ENV , and each child process gets the same %ENV as parent process, so to CGI.pm won't use the debugging freature and look at @ARGV But since CGI programs don't populate @ARGV you can use
Or it might be prudent to use GetOpt::Long / --query=a=1;b=2;c=3... instead of testing only for @ARGV In reply to Re: CGI with nested apps, each calling param() to get their args
by Anonymous Monk
|
|