Skip Menu |

This queue is for tickets about the Net-CUPS CPAN distribution.

Report information
The Basics
Id: 35966
Status: resolved
Priority: 0/
Queue: Net-CUPS

People
Owner: Nobody in particular
Requestors: grousse [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.56
Fixed in: (no value)



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.
This should be fixed in the latest CUPS. Thank you for the report. On Sat May 17 08:03:29 2008, GROUSSE wrote: Show quoted text
> 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.