Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Question is this the correct way to do it and how can get this Perl to work in HTML pages? Where would I put it and what do I need to do to get it to work??? I need to get this to work in html pages: mypage.html and anotherpage.html etc...my ($ldate) = (head('http://www.mydomain.here/mypage.htm'))[2]; my ($lastdatehere) = scalar localtime($ldate);
<script language="Javascript">document.writeln("Web page last modified + on " + document.lastModified.bold())</script>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Last Mod using server side perl
by Ninthwave (Chaplain) on Dec 31, 2003 at 18:21 UTC | |
by Anonymous Monk on Dec 31, 2003 at 19:05 UTC | |
by BUU (Prior) on Dec 31, 2003 at 20:07 UTC | |
|
Re: Last Mod using server side perl
by pg (Canon) on Dec 31, 2003 at 18:09 UTC | |
by liz (Monsignor) on Dec 31, 2003 at 18:48 UTC | |
by ChemBoy (Priest) on Dec 31, 2003 at 19:02 UTC | |
by pg (Canon) on Dec 31, 2003 at 20:28 UTC |