## the following code must be all on one line: $VERSION = sub { sprintf "%04d%02d%02d.%02d%02d%02d", 1900+$_[5], 1+$_ +[4], @_[3,2,1,0] }->(gmtime +(stat __FILE__)[9]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: create $VERSION from the modtime of the file
by The Mad Hatter (Priest) on Dec 27, 2004 at 18:53 UTC | |
by merlyn (Sage) on Dec 27, 2004 at 18:54 UTC | |
by The Mad Hatter (Priest) on Dec 27, 2004 at 19:17 UTC | |
|
Re: create $VERSION from the modtime of the file
by legato (Monk) on Dec 27, 2004 at 20:34 UTC |