Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
LWP/Post with several argumentsby scain (Curate) |
on Mar 04, 2002 at 20:57 UTC ( [id://149212]=perlquestion: print w/replies, xml ) | Need Help?? |
scain has asked for the wisdom of the Perl Monks concerning the following question:
Goodday Fine Monks,
I am working on a script that uses LWP to submit a form via POST to a cgi and collect the results. I realize that this topic has been covered before, and many have suggested perldoc lwpcook, which I have read. Nevertheless, I feel I must be missing something, as my script still does not work. At the moment I am getting an error message that looks like this: I assume the not a SCALAR reference is coming straight from perl, as it is trying to print something that doesn't exist. I am designing this to work on an internal server, but I changed my non working script to run against a similarly configured server at UCSF. Please don't everybody run this script against their server, as I haven't cleared it with them, so if 100 of us hit it all at once, it may go down. Ok, here the script: The script get executed like this on the command line: Currently, the -d, -i and -o flags are not used even though they are specified.
Thanks for your time.
Back to
Seekers of Perl Wisdom
|
|