X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FApp.pm;h=4a93a163d6bc8849fc1006ed6b715ab3b6413c75;hb=b35cbc0d6ca5baf03ffbeb2b9a375fa71f4d0ad3;hp=c867f70b6738a88dfc0ad6c96213015d2ddcc35a;hpb=e1b6fd19f5724ce68ee92aaeae1c0ddf7a6a2561;p=gruntmaster-data.git diff --git a/lib/Gruntmaster/App.pm b/lib/Gruntmaster/App.pm index c867f70..4a93a16 100644 --- a/lib/Gruntmaster/App.pm +++ b/lib/Gruntmaster/App.pm @@ -3,7 +3,7 @@ package Gruntmaster::App; use 5.014000; use warnings; -our $VERSION = '5999.000_014'; +our $VERSION = '5999.000_016'; use App::Cmd::Setup '-app'; use Gruntmaster::Data; @@ -21,7 +21,10 @@ sub global_opt_spec { sub table { shift->global_options->{table} } -dbinit $ENV{GRUNTMASTER_DSN} // 'dbi:Pg:'; +sub run { + dbinit $ENV{GRUNTMASTER_DSN} // 'dbi:Pg:'; + shift->SUPER::run(@_); +} 1; __END__ @@ -52,7 +55,7 @@ Marius Gavrilescu, Emarius@ieval.roE =head1 COPYRIGHT AND LICENSE -Copyright (C) 2014-2015 by Marius Gavrilescu +Copyright (C) 2014-2016 by Marius Gavrilescu This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.20.1 or,