[Catalyst] Catalyst::Plugin::Scheduler - NEXT warnings patch

Anthony Gladdish a.j.gladdish at newcastle.ac.uk
Thu May 7 12:13:55 GMT 2009


Hi,

Running Catalyst::Plugin::Scheduler v0.08 with Catalyst::Runtime 5.8 + perl 5.10 is producing following warnings:

Catalyst::Plugin::Scheduler is trying to use NEXT, which is deprecated. Please see the Class::C3::Adopt::NEXT documentation for details at ... Catalyst-Plugin-Scheduler-0.08/blib/lib/Catalyst/Plugin/Scheduler.pm line 175

As I require the use of this library in one of my cat apps (Catalyst::Runtime 5.7011 + perl 5.8.8, and eventually Catalyst::Runtime 5.8+) I've decided to replace its use of NEXT with MRO::Compat so it is compatible with versions of perl < 5.9.5 as well as for Catalyst::Runtime 5.8+.

Attached are my diffs and I've put the version number up to 0.09.

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

As I've not attempted this before I was wondering if you could see if I've gone about this patch in the correct way.

Also, as I've had no response from the author, what would the procedure be re. possibly applying this patch?

For more info on this please see:

http://search.cpan.org/~agrundma/Catalyst-Plugin-Scheduler-0.08/lib/Catalyst/Plugin/Scheduler.pm

Many thanks,
Anthony Gladdish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Patch-Catalyst-Plugin-Scheduler.pm-0.08-0.09
Type: application/octet-stream
Size: 2450 bytes
Desc: Patch-Catalyst-Plugin-Scheduler.pm-0.08-0.09
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090507/49be346e/Patch-Catalyst-Plugin-Scheduler.pm-0.08-0.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Patch-Changes-0.08-0.09
Type: application/octet-stream
Size: 438 bytes
Desc: Patch-Changes-0.08-0.09
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090507/49be346e/Patch-Changes-0.08-0.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Patch-t-lib-Catalyst-Plugin-PluginTest-0.08-0.09
Type: application/octet-stream
Size: 629 bytes
Desc: Patch-t-lib-Catalyst-Plugin-PluginTest-0.08-0.09
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090507/49be346e/Patch-t-lib-Catalyst-Plugin-PluginTest-0.08-0.obj


More information about the Catalyst mailing list