diff options
Diffstat (limited to 'lib/App/DocKnot/Spin/Versions.pm')
-rw-r--r-- | lib/App/DocKnot/Spin/Versions.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/App/DocKnot/Spin/Versions.pm b/lib/App/DocKnot/Spin/Versions.pm index b804b08..679b368 100644 --- a/lib/App/DocKnot/Spin/Versions.pm +++ b/lib/App/DocKnot/Spin/Versions.pm @@ -12,7 +12,7 @@ # Modules and declarations ############################################################################## -package App::DocKnot::Spin::Versions 5.00; +package App::DocKnot::Spin::Versions 6.00; use 5.024; use autodie; @@ -84,9 +84,9 @@ sub _read_data { if (!defined($time)) { die "invalid line $. in $path\n"; } - @depends = @files; + @depends = @files; $timestamp = _datetime_to_seconds($date, $time, $path); - $date = strftime('%Y-%m-%d', gmtime($timestamp)); + $date = strftime('%Y-%m-%d', gmtime($timestamp)); $self->{versions}{$package} = [$version, $date]; } @@ -120,7 +120,7 @@ sub new { # Create an empty object. my $self = { - depends => {}, + depends => {}, versions => {}, }; bless($self, $class); |