Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Version control system for the laziest of the lazy

by Anonymous Monk
on Apr 06, 2011 at 07:08 UTC ( [id://897676]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://897676]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-16 06:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found