CGI parameter question

  • Thread starter Jaap Karssenberg
  • Start date
J

Jaap Karssenberg

I have a script cgi-bin/test.pl that uses the CGI module and takes named
parameters, now I also want it to be able to be called with the
cgi-bin/test.pl/foo syntax, but I didn't succeed getting the value
"foo". I tried various things with CGI::param and also tried @ARGV but
no luck :(. Can anyone tell me how to get this value ?
 
J

Jaap Karssenberg

: CGI.pm provides the method path_info() which contains the value
: of the environment variable PATH_INFO.

Thanks, thats was the name I needed to know :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
474,266
Messages
2,571,079
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top