Skip Menu |

This queue is for tickets about the Image-Magick-Thumbnail-Fixed CPAN distribution.

Report information
The Basics
Id: 7839
Status: new
Priority: 0/
Queue: Image-Magick-Thumbnail-Fixed

People
Owner: Nobody in particular
Requestors: dklein [...] dmk.dyndns.org
Cc:
AdminCc:

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



Subject: Module generates unnecessary warning
The thumbnail method on line 89 contains a warn clause that does a $self->{debug} == 1. The constructor does not define 'debug', and so this generates a warning from Perl on every invocation, especially for us folks who run with -w all the time. Changing the constructor to: sub new { my $class = shift; my $self = bless { debug => 0}, $class; } fixes the problem with no loss of generality.