Stephane, what you are looking for is the LWP module.. it comes standard
with any ActiveState perl release but is not standard with Linux (or at
least RedHat)
try search.cpan.org if you need to obtain and look for "LWP"
you'll find the documentation very informational.
Regards,
Jos Boumans
Stép
On Mon, 7 May 2001, McCormick, Rob E wrote:
> 501 Protocol scheme 'hostfirewall.acme.com' is not supported
> http://foo.acme.com/>
> # names changed to protect the innocent
>
> Why does that happen? Is it picking up our firewall from an ENV variable
> that's part of the shell?
> Do I need to tel
1 9:36 AM
> To: Stéphane JEAN BAPTISTE
> Cc: PERL
> Subject: Re: to reach an URL
>
> On Mon, 7 May 2001, Stéphane JEAN BAPTISTE wrote:
>
> > I'm looking for a command which permit to reach an URL from the script.
>
> use LWP::Simple;
>
> my $ur
On Mon, 7 May 2001, Stéphane JEAN BAPTISTE wrote:
> I'm looking for a command which permit to reach an URL from the script.
use LWP::Simple;
my $url = 'http://some.domain.com';
my $page = get($url);
There are plenty more ways to get urls via LWP and the HTTP modules.
-- Brett