Skip to content

Commit 93dd6aa

Browse files
committed
fix compatibility with perl 5.26
1 parent b7851db commit 93dd6aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
13.00
1+
13.001

bin/ircd

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/perl
2-
# Copyright (c) 2010-16, Mitchell Cooper
2+
# Copyright (c) 2010-17, Mitchell Cooper
33
use warnings; use strict; use 5.010;
44
foreach ([qw(__WARN__ WARNING)], [qw(TERM terminate )], [qw(KILL terminate)],
55
[qw(INT terminate)], [qw(PIPE signalpipe)], [qw(HUP signalhup)]) {
@@ -9,7 +9,7 @@ BEGIN {
99
defined($run_dir = shift @ARGV) or die "No directory specified";
1010
die "Run directory does not exist" unless -d $run_dir;
1111
chdir $run_dir or die "Can't access run directory";
12-
foreach (map { "$run_dir/lib$_" } ('', qw(/evented-object/lib
12+
foreach ($run_dir, map { "$run_dir/lib$_" } ('', qw(/evented-object/lib
1313
/evented-api-engine/lib))) { unshift @INC, $_ }
1414
require Evented::API::Engine;
1515
}

0 commit comments

Comments
 (0)