undef error when printing help
This commit is contained in:
@@ -74,7 +74,8 @@ $ENV{DBIC_TRACE} ||= $sqltrace;
|
|||||||
Dancer::Logger->init('console', $CONFIG);
|
Dancer::Logger->init('console', $CONFIG);
|
||||||
|
|
||||||
# get requested action
|
# get requested action
|
||||||
(my $action = shift @ARGV) =~ s/^set_//;
|
(my $action = shift @ARGV) =~ s/^set_//
|
||||||
|
if scalar @ARGV;
|
||||||
|
|
||||||
unless ($action) {
|
unless ($action) {
|
||||||
pod2usage(
|
pod2usage(
|
||||||
|
|||||||
Reference in New Issue
Block a user