Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Perl (http://www.programmingforums.org/forum21.html)
-   -   Perl Debugger (http://www.programmingforums.org/showthread.php?t=13736)

Ade Aug 9th, 2007 5:01 AM

Perl Debugger
 
Hi,

I need to pass some url arguments to a perl script that I'm running in the debugger. The url is...


grpdetails.cgi?details=4&val=test%20group%20SCR

So I need to give it details = 4 and val = test group SCR

Anyone know how I do this?


Cheers!

lectricpharaoh Aug 9th, 2007 7:14 AM

You might try reading up on CGI. I believe for one method (POST or GET), the parameters are passed to the program via standard input (ie, they're piped), and for the other, they are passed through the environment. It's been quite a while since I've played with CGI, though, so I'm afraid I don't remember which is which. Once you determine how the server is passing data to your script, you should be able to fake it, and pass the correct data.

You might find this link and this link helpful.


All times are GMT -5. The time now is 12:24 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC