http://www.perlmonks.org?node_id=328293

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