Hi all, I've tried a sinple test script for testing the LWP module and I've received the following result: 501Protocol scheme 'http' is not supported
The script works under Red Hat with Perl 5.6.0. The module LWP is not installed by the root. I've installed it in a separate directory and i've used the "use lib". Here is the script. Do you have any idea what could be the problem? Thank you. #!/usr/bin/perl -w use LWP::UserAgent; print "Content-type: text/html\n\n"; my $page = "http://localhost/"; my $ua = LWP::UserAgent -> new(env_proxy => 0, timeout => 60, keep_alive => 1, ); my $response = $ua -> get($page); print $response -> code(); print $response -> message(); Teddy's Center: http://teddy.fcc.ro/ Mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]