Subject: | Bareword usage prevent loading |
perl -I blib/arch/ -I blib/lib/ t/01_use.t
1..4
not ok 1 - use Net::CUPS;
# Failed test 'use Net::CUPS;'
# at t/01_use.t line 9.
# Tried to use 'Net::CUPS'.
# Error: Bareword "IPP_TAG_TEXT" not allowed while "strict subs" in
use at blib/lib//Net/CUPS/Destination.pm line 1057.
# Compilation failed in require at blib/lib//Net/CUPS.pm line 992.
# BEGIN failed--compilation aborted at t/01_use.t line 9.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
not ok 2 - use Net::CUPS::Destination;
# Failed test 'use Net::CUPS::Destination;'
# at t/01_use.t line 17.
# Tried to use 'Net::CUPS::Destination'.
# Error: Attempt to reload Net/CUPS/Destination.pm aborted.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at t/01_use.t line 17.
ok 3 - use Net::CUPS::PPD;
ok 4 - use Net::CUPS::IPP;
# Looks like you failed 2 tests of 4.
This occurs with perl 5.10 on mandriva linux.