http://www.perlmonks.org?node_id=897676


in reply to Version control system for the laziest of the lazy

I prefer a iso 8601
$ perl -MDateTime -le"print DateTime->now->strftime( q!%F-%H-%M-%S%z! +);" 2011-04-06-07-04-11+0000 $ perl -MDateTime -le"print DateTime->now( qw[ time_zone local ] )->st +rftime( q!%F-%H-%M-%S%z! );" 2011-04-06-00-04-29-0700
or double digit suffix
foo.pl-00 foo.pl-01
With a iso 8601 timestamp at the top of the file

Replies are listed 'Best First'.
Re^2: Version control system for the laziest of the lazy
by toolic (Bishop) on Apr 06, 2011 at 13:06 UTC
    Use whatever timestamp or string that suits you. That ISO format string is compatible with POSIX::strftime (so there's no need for the non-Core DateTime).
    With a iso 8601 timestamp at the top of the file
    If you are implying that the contents of each copied file should be modified, that is far beyond the scope of this simple tool.