[Catalyst] Catlyst::Action::REST - NEXT warnings patch

Anthony Gladdish a.j.gladdish at newcastle.ac.uk
Thu May 7 15:53:18 GMT 2009


Hi,

I'm using Catalyst-Action-REST-0.71 with Cat::Runtime 5.8 and getting following warnings:

Catalyst::Action::Deserialize is trying to use NEXT, which is deprecated. Please see the Class::C3::Adopt::NEXT documentation for details at ... /Catalyst-Action-REST-0.71/t/../lib/Catalyst/Action/Deserialize.pm line 41

Catalyst::Action::Serialize is trying to use NEXT, which is deprecated. Please see the Class::C3::Adopt::NEXT documentation for details at ... /Catalyst-Action-REST-0.71/t/../lib/Catalyst/Action/Serialize.pm line 19

Attached is my patch which appears to remove these "NEXT deprecated" warnings:

Passes in Cat::Runtime 5.8 + perl 5.10.
Passes in Cat::Runtime 5.7011 + perl 5.8.8.

I would like to know if I've gone about it correctly? And if so, could you review my patch and possibly apply?

Many thanks in advance,

Anthony Gladdish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Patch-Catalyst-Action-REST
Type: application/octet-stream
Size: 1111 bytes
Desc: Patch-Catalyst-Action-REST
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090507/9454a099/Patch-Catalyst-Action-REST.obj


More information about the Catalyst mailing list