![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0
![]() |
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!
__________________
Don't wound what you can't kill |
|
|
|
|
|
#2 |
|
Caffeinated Neural Net
![]() Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,007
Rep Power: 5
![]() |
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.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Learning Perl | ReggaetonKing | Perl | 42 | Oct 20th, 2006 4:42 PM |
| A simple perl script | satimis | Perl | 3 | Aug 15th, 2005 9:31 AM |
| Why do most shared hosting services offer php not perl? | Jonnno | Perl | 5 | May 19th, 2005 3:56 PM |
| Learning and Programming Perl | G.I.Josh | Perl | 2 | Mar 23rd, 2005 1:48 PM |