diff options
author | Brian Cully <bjc@kublai.com> | 2017-11-13 16:01:15 +0000 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2017-11-13 16:01:15 +0000 |
commit | e40b8088c3561493f9d66cad8f588085c46c0f96 (patch) | |
tree | 8d82ae8950ce85fab9bc9ca96a983d346a8597b0 /xmpt | |
parent | 01afbc332316005a1cf7393fcdde3042be4316eb (diff) | |
download | xmpt-e40b8088c3561493f9d66cad8f588085c46c0f96.tar.gz xmpt-e40b8088c3561493f9d66cad8f588085c46c0f96.zip |
Fix lib require for older perls.
Don't do the require inside a package block, since that syntax is not
supported on at at least 5.10.1. Since 'require' is lexical scope
anyway, this wasn't required.
Diffstat (limited to 'xmpt')
-rwxr-xr-x | xmpt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,7 +169,7 @@ sub eval_in { } eval { - package evalpkg { require $_ for @libs }; + require $_ for @libs; foreach my $plan (@plans) { print STDERR "=> Executing $plan->{name} step.\n" if $verbose; do_send($plan->{name}, @{$plan->{send}}); |