in reply to date of a web page
There is nothing nasty about getting the Last-Modified time
my ($lm_time) = $header =~ m/Last-Modified:\s+(.+)/i;
With dynamic pages the concept of a last modified time would seem, by definition to be given by time() on your local system. Date::Parse will go hunting for strings that look like dates but this is likely to be horribly broken if applied to web pages. Apply it to this dynamic page for example.
What are you actually trying to do?
|
|---|