[thelist] Perl : LWP question

Benjamin Tilley kalos at carolina.rr.com
Wed Feb 2 14:02:32 CST 2005


Are you defining $url?  (I know, silly question but it's the little 
things).  Also, it appears that unless the page is setting the last 
modified variable it returns blank by default.  The following page may 
help as it explains what's going on a little better.

http://aspn.activestate.com/ASPN/Mail/Message/perl-win32-web/527014

-ben

> 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 ;




More information about the thelist mailing list