xmltv/lib XMLTV.pm.PL,1.6,1.7
Nick Morrott via xmltv-commit <[email protected]> Fri, 18 Aug 2017 00:32:26 +0000
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/lib In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30328/lib Modified Files: XMLTV.pm.PL Log Message: Provide explicit paths to current directory for 'require's Perl 5.26 drops "." from @INC by default, so ensure require/use/do find files in currdir when necessary Index: XMLTV.pm.PL =================================================================== RCS file: /cvsroot/xmltv/xmltv/lib/XMLTV.pm.PL,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** XMLTV.pm.PL 24 Feb 2017 22:35:58 -0000 1.6 --- XMLTV.pm.PL 18 Aug 2017 00:32:24 -0000 1.7 *************** *** 9,16 **** my $out = shift @ARGV; die "no output file given" if not defined $out; ! my $in = 'lib/XMLTV.pm.in'; - # Perl 5.24.1+ does not include '.' in @INC but we need some libs during build - use lib '.'; require $in; --- 9,14 ---- my $out = shift @ARGV; die "no output file given" if not defined $out; ! my $in = './lib/XMLTV.pm.in'; require $in; ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot