On 4/26/06, nishanth ev <[EMAIL PROTECTED]> wrote: > Hello, > > Its not the error with the perl script. > Your program ran perfect on my machine. > Please let me know if you ran it as a cgi script after > adding the shebang and other modifications or simply > ran as perl script. Simply as a perl script > > Most probably the error is with the perl module > installation. > Please change the url that you are trying to access > and check. Itried again and got the same result. > > Regards > Nishanth > > --- Sanchita Dahal <[EMAIL PROTECTED]> wrote: > > > Hi, > > I am trying to run this > > > > ++++++++++++++ > > require LWP::UserAgent; > > > > my $ua = LWP::UserAgent->new; > > > > my $response = $ua->get('http://search.cpan.org/'); > > > > if ($response->is_success) { > > print $response->content; # or whatever > > } > > else { > > die $response->status_line; > > } > > ********************* > > I am getting "501 Protocol scheme 'http' is not > > supported at test.pl > > line 11." error. Please help. > > > > -- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > <http://learn.perl.org/> > > <http://learn.perl.org/first-response> > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>