Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: perreal [...] lyon.cemagref.fr
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.25
Fixed in: (no value)



Subject: Some functions return undef instead of an empty list
Functions like cupsGetJobs and cupsGetDests return undef when there is no jobs or dests, even in list context. That's quite annoying when using pieces of codes likes those: my @jobs = Net::CUPS::Printer::cupsGetJobs('', 0, 0); If there is no jobs, @jobs contains (undef), instead of (), so testing the result is quite cumbersome.