aboutsummaryrefslogtreecommitdiffstats
path: root/xmpt
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2017-11-13 16:01:15 +0000
committerBrian Cully <bjc@kublai.com>2017-11-13 16:01:15 +0000
commite40b8088c3561493f9d66cad8f588085c46c0f96 (patch)
tree8d82ae8950ce85fab9bc9ca96a983d346a8597b0 /xmpt
parent01afbc332316005a1cf7393fcdde3042be4316eb (diff)
downloadxmpt-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-xxmpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpt b/xmpt
index 337e00e..c1d0dbe 100755
--- a/xmpt
+++ b/xmpt
@@ -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}});