Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Graphics-Color CPAN distribution.

Report information
The Basics
Id: 49846
Status: resolved
Priority: 0/
Queue: Graphics-Color

People
Owner: Nobody in particular
Requestors: perl [...] david-raab.de
Cc:
AdminCc:

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



Subject: new() on Moose Object is deprecated
If installing "Graphics::Color" with Moose 0.90 then the testsuite fires some warnings. Calling new() on an instance is deprecated, please use (blessed $obj)->new at generated method (unknown origin) line 2 Graphics::Color::HSV::new('Graphics::Color::HSV=HASH(0x9f95208)', 'hue', 0, 'saturation', 1, 'value', 1) called at t/01-hsv.t line 39 Calling new() on an instance is deprecated, please use (blessed $obj)->new at generated method (unknown origin) line 2 Graphics::Color::HSV::new('Graphics::Color::HSV=HASH(0x9f95218)', 'hue', 120, 'saturation', 0.5, 'value', 1) called at t/01-hsv.t line 45 Calling new() on an instance is deprecated, please use (blessed $obj)->new at generated method (unknown origin) line 2 Graphics::Color::HSV::new('Graphics::Color::HSV=HASH(0x9f95b88)', 'hue', 240, 'saturation', 1, 'value', 0.5) called at t/01-hsv.t line 51
Fixed in just release 0.25. Thanks!