Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a URL that I would like to execute. I need variables in the URL to be posted correctly like this:
myperlscript.pl?var1=1&var2=2
I just dont want to redirect.
I so far have tried all of these things:
print qx "myperlscript.pl?var1=1&var2=2"; system("myperlscript.pl?var1=1&var2=2");use my $response =LWP::UserAgent->new->get("myperlscript.pl?var1=1&var2=2" +);
Thanks!!!
20040211 Edit by Corion: Exchanged PRE tags for formatting
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Dynamicly Execute URL without redirection
by tcf22 (Priest) on Feb 11, 2004 at 16:00 UTC | |
Re: Dynamicly Execute URL without redirection
by valdez (Monsignor) on Feb 11, 2004 at 19:29 UTC |
Back to
Seekers of Perl Wisdom