[thelist] Perl : LWP question
David Williamson
dw at ainscough.net
Wed Feb 2 13:54:15 CST 2005
Giles wrote
> I need to check the last available version of a web page.
> To do so, I use the LWP::Simple module of Perl with the following syntax:
>
> use LWP::Simple ;
> ($content_type, $document_length, $modified_time, $expires, $server) =
head
> $url ;
> print ("$content_type <> ",
> "$document_length <> ",
> "$modified_time <> ",
> "$expires <> ",
> "$server\n");
>
> but no value are return.
Giles -
Is that your complete script?
Where do you define a value for $url?
Dave
More information about the thelist
mailing list