Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow empty code (does nothing), instead of taking the next arg as sc…

…riptlet
  • Loading branch information...
commit 02b83e192cfa8010e1535372d4549b26fae44a10 1 parent bee39ad
Steven Haryanto (on Asus EEEPC) authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/App/perlmv.pm
View
2  lib/App/perlmv.pm
@@ -127,7 +127,7 @@ sub run {
exit 0;
}
- unless ($self->{'code'}) {
+ unless (defined $self->{'code'}) {
die 'FATAL: Must specify code (-e) or scriptlet name (first argument)'
unless $self->{'items'};
$self->{'code'} =
Please sign in to comment.
Something went wrong with that request. Please try again.