Skip Menu |

This queue is for tickets about the Config-Irssi-Parser CPAN distribution.

Report information
The Basics
Id: 108144
Status: new
Priority: 0/
Queue: Config-Irssi-Parser

People
Owner: Nobody in particular
Requestors: fjarlq [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: tests fail with perl v5.20.2: Bad subroutine name for Fatal
Config-Irssi-Parser-0.0.4 appears to have an installation problem with the latest version of perl (v5.20.2). When I try to install it using cpan, these errors occur: cpan[1]> install Config::Irssi::Parser ... Running Build test t/lex.t .... Bad subroutine name for Fatal: :open at t/lex.t line 6. BEGIN failed--compilation aborted at t/lex.t line 6. t/lex.t .... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/parse.t .. Bad subroutine name for Fatal: :open at t/parse.t line 6. BEGIN failed--compilation aborted at t/parse.t line 6. t/parse.t .. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run The offending line for both tests is: use Fatal qw(:open :close); perl v5.20.2 apparently insists on this instead: use Fatal qw(open close); See attached patch.
Subject: irssi-parser.diff
*** t/lex.t.orig 2004-09-19 20:28:39.000000000 -0700 --- t/lex.t 2015-10-29 16:48:00.148965590 -0700 *************** *** 3,9 **** use strict; use warnings; use Test::More; ! use Fatal qw(:open :close); plan tests => 2; my $class = "Config::Irssi::Lexer"; --- 3,9 ---- use strict; use warnings; use Test::More; ! use Fatal qw(open close); plan tests => 2; my $class = "Config::Irssi::Lexer"; *** t/parse.t.orig 2004-09-19 20:28:39.000000000 -0700 --- t/parse.t 2015-10-29 16:48:08.476966757 -0700 *************** *** 3,9 **** use strict; use warnings; use Test::More; ! use Fatal qw(:open :close); plan tests => 6; my $class = "Config::Irssi::Parser"; --- 3,9 ---- use strict; use warnings; use Test::More; ! use Fatal qw(open close); plan tests => 6; my $class = "Config::Irssi::Parser";