[thelist] Perl : LWP question

Gilles Beauregard gilles at balour.org
Wed Feb 2 13:17:33 CST 2005


Allo!

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.

Could you help?

Gilles B.




More information about the thelist mailing list