Skip Menu |

This queue is for tickets about the Printer CPAN distribution.

Report information
The Basics
Id: 46004
Status: new
Priority: 0/
Queue: Printer

People
Owner: Nobody in particular
Requestors: jason.cagle [...] blockbuster.com
Cc:
AdminCc:

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



Subject: Printer module bug
Date: Tue, 12 May 2009 15:31:14 -0400
To: "'bug-Printer [...] rt.cpan.org'" <bug-Printer [...] rt.cpan.org>
From: Jason Cagle <jason.cagle [...] blockbuster.com>

Message body is not shown because sender requested not to inline it.

Bug report for the CPAN Printer Module. Printer-0.98 Perl 5.8.8 Linux 2.6.16.60-0.21-bigsmp #1 SMP Tue May 6 12:41:02 UTC 2008 i686 i686 i386 GNU/Linux To Reproduce: use Printer; my $printer = new Printer(); $printer->use_default; @jobs = $printer->list_jobs(); foreach $ref (@jobs) { foreach $field (qw/Rank Owner Job Files Size/) { print $field, " = ", $$ref{$field}, " "; } print "\n"; } The output I get: Linuxish default is lp_bbpos Rank = Owner = Job = Files = Size = Attached is the required change to the Unix.pm module that is distributed with this package. The change was to add: return @queue; to the bottom of the list_jobs subroutine. Thanks, Show quoted text
____________________________________________ Jason Cagle Store Systems - Application Software Engineer Blockbuster, Inc. - 3000 Redbud Blvd.; McKinney, Texas 75069 * Office: 972.683.8323 * Cell: 972.965.2158 ? Fax: 972.683.8300 The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer.