Subject: | Not compiling under perl 5.18 (ubunut 14) |
Date: | Mon, 22 Sep 2014 16:13:16 -0300 |
To: | bug-Finance-Bank-DE-DTA-Create [...] rt.cpan.org |
From: | Gines Razanov <gines.razanov [...] surhive.com> |
I think is becase qw() without () is deprecated, should be (qw()) instead?
# Failed test 'use Finance::Bank::DE::DTA::Create;'
# at t/00-load.t line 6.
# Tried to use 'Finance::Bank::DE::DTA::Create'.
# Error: syntax error at
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
line 153, near "$member qw(name bank_code account_number additional_name)"
# Global symbol "$member" requires explicit package name at
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
line 154.
# Global symbol "$sender" requires explicit package name at
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
line 155.
# Global symbol "$member" requires explicit package name at
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
line 155.
# Global symbol "$self" requires explicit package name at
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
line 155.
# Global symbol "$member" requires explicit package name at
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
line 155.
# Global symbol "$exchange" requires explicit package name at
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
line 158.
# Global symbol "$receiver" requires explicit package name at
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
line 158.
# Global symbol "$exchange" requires explicit package name at
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
line 159.
# Global symbol "$sender" requires explicit package name at
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
line 159.
# syntax error at
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
line 161, near "$account qw(sender receiver)"
#
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
has too many errors.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Bailout called. Further testing stopped:
# Testing Finance::Bank::DE::DTA::Create , Perl 5.018002, /usr/bin/perl
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
make: *** [test_dynamic] Error 1
-> FAIL Installing Finance::Bank::DE::DTA::Create failed. See
/home/chines/.cpanm/work/1411411687.4173/build.log for details. Retry with
--force to force install it.
chines@eeepc:~$ sudo vi
/home/chines/.cpanm/work/1411411687.4173/Finance-Bank-DE-DTA-Create/blib/lib/Finance/Bank/DE/DTA/Create.pm
chines@eeepc:~$ perl -v
This is perl 5, version 18, subversion 2 (v5.18.2) built for
x86_64-linux-gnu-thread-multi
(with 41 registered patches, see perl -V for more detail)
Copyright 1987-2013, Larry Wall
Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.