Add ; after eval
This commit is contained in:
parent
6952c85c5b
commit
4e289ec442
1 changed files with 3 additions and 3 deletions
|
@ -64,7 +64,7 @@ sub do_work ($$$@)
|
|||
|
||||
eval {
|
||||
$parser->parse_string(${ $_[0]{argref} });
|
||||
}
|
||||
};
|
||||
if ($@) {
|
||||
my $err = "Parse error: $@";
|
||||
log ERROR, $err;
|
||||
|
@ -73,7 +73,7 @@ sub do_work ($$$@)
|
|||
|
||||
eval {
|
||||
return $subref->($given_args, $args);
|
||||
}
|
||||
};
|
||||
if ($@) {
|
||||
my $err = $@;
|
||||
log ERROR, $err;
|
||||
|
@ -94,7 +94,7 @@ sub register_no_parse ($$;$)
|
|||
{
|
||||
eval {
|
||||
return $subref->($given_arg, $_[0]{argref});
|
||||
}
|
||||
};
|
||||
if ($@) {
|
||||
my $err = $@;
|
||||
log ERROR, $err;
|
||||
|
|
Reference in a new issue