Re: Automatic date update
[email protected] (David Newman)
| Newsgroups | perl.beginners |
|---|---|
| Organization | Network Test Inc. |
| Message-ID | <[email protected]> |
On 5/26/08 8:18 PM, Jeff Peng wrote: > On Tue, May 27, 2008 at 11:07 AM, John Jack <[email protected]> wrote: >> Hi >> >> I want a perl script to automatically update the date on our home page >> everytime an update is done on our site. By the way, we run a build script >> everytime we upload new stuffs into our site or do a re-upload. >> > > I just thought what you wanted is "rsync" tool. > rsync could do the data-sync automatically for you, see `man rsync`. > The RCS (revision control system) also can do this. Just put the string $Date$ in your HTML, and the Web page will display the date and time the file was checked in. Here's one among many RCS tutorials: ttp://www.madboa.com/geek/rcs/ dn