in reply to Why does CGI.pm's param check GET xor POST?

Other things to consider:
  • using PATH_INFO
  • parsing(using's CGI's internal methods) SCRIPT_NAME or URI_REQUEST
  • --
    perl -pe "s/\b;([st])/'\1/mg"

    • Comment on Re: Why does CGI.pm's param check GET xor POST?

    Replies are listed 'Best First'.
    (cLive ;-) Re: Why does CGI.pm's param check GET xor POST?
    by cLive ;-) (Prior) on Apr 06, 2002 at 14:42 UTC
      To expand a little on the suggestion above, PATH_INFO is added like this:
      # url my.domain.com/cgi-bin/script.cgi # url with path info my.domain.com/cgi-bin/script.cgi/path_info_here
      The path info is then available in $ENV{'PATH_INFO'}

      .02

      cLive ;-)