![]() |
|
![]() |
|
|
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: Wet west coast of Canada
Posts: 887
Rep Power: 4
![]() |
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.
__________________
A man's knowledge is like an expanding sphere, the surface corresponding to the boundary between the known and the unknown. As the sphere grows, so does its surface; the more a man learns, the more he realizes how much he does not know. Hence, the most ignorant man thinks he knows it all. - L. Sprague de Camp |
|
|
|
![]() |
| 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 |