From: Ian Jackson Date: Wed, 6 Jul 2022 15:10:24 +0000 (+0100) Subject: Cope with modern Perl's default @INC X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=commitdiff_plain;h=c184fe839f492f094be0a3d11eaf02d6440b3436 Cope with modern Perl's default @INC --- diff --git a/yarrg/commod-email-processor b/yarrg/commod-email-processor index e65b2b6..ff0880e 100755 --- a/yarrg/commod-email-processor +++ b/yarrg/commod-email-processor @@ -34,6 +34,8 @@ BEGIN { my $selfdir= $0; $selfdir =~ s,/+[^/]*$,,; chdir("$selfdir") or die "$selfdir $!"; + + unshift @INC, qw(.); } use Commods;