jonnyfolk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; use CGI::Carp qw(fatalsToBrowser warningsToBrowser); use CGI qw/:standard/; use LWP::Simple; print "Content-type:text/html\n\n"; my $query = $ENV{'QUERY_STRING'}; my $content = get("http://www.google.com?$query"); die "Couldn't get it!" unless defined $content; print $content;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: LWP::Simple on Windows 2003 IIS
by CountZero (Bishop) on Feb 13, 2010 at 09:25 UTC | |
Re: LWP::Simple on Windows 2003 IIS
by ahmad (Hermit) on Feb 13, 2010 at 07:02 UTC | |
by Anonymous Monk on Feb 13, 2010 at 07:12 UTC |