Skip Menu |

This queue is for tickets about the Workflow-Lite CPAN distribution.

Report information
The Basics
Id: 92428
Status: resolved
Priority: 0/
Queue: Workflow-Lite

People
Owner: pravus [...] cpan.org
Requestors: cpan [...] zoffix.com
Cc:
AdminCc:

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



Subject: [PATCH] Moose Class::MOP::load_class Deprecation Warnings
Hey, Attached patch fixes the warnings produced by the deprecation of Class::MOP::load_class. Below is a blurb the Moose guys have been distributing. --- We recently deprecated Class::MOP::load_class in Moose. It appears that your module is affected. You can read more about the change here: https://metacpan.org/pod/release/ETHER/Moose-2.1106-TRIAL/lib/Moose/Manual/Delta.pod#pod2.1200 We recommend that you take a look at your code to see if it indeed does need to be updated with respect to the latest Moose release, 2.1106-TRIAL. If you have any questions, then please ask either on Moose mailing list : http://lists.perl.org/list/moose.html or on #moose & #moose-dev on irc.perl.org. -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]
Subject: Workflow-Lite-0.07.patch
diff -Naur Workflow-Lite-0.07_orig/lib/Workflow/Lite/Registry.pm Workflow-Lite-0.07/lib/Workflow/Lite/Registry.pm --- Workflow-Lite-0.07_orig/lib/Workflow/Lite/Registry.pm 2014-01-23 18:31:54.470665990 -0500 +++ Workflow-Lite-0.07/lib/Workflow/Lite/Registry.pm 2014-01-23 18:33:13.674667027 -0500 @@ -1,7 +1,7 @@ package Workflow::Lite::Registry; use namespace::autoclean; -use Class::MOP; +use Class::Load; use Moose; use MooseX::ClassAttribute; @@ -16,7 +16,7 @@ my ( $class, @pairs ) = @_; while( my ( $id, $workflow_class ) = splice @pairs, 0, 2 ) { - Class::MOP::load_class( $workflow_class ); + Class::Load::load_class( $workflow_class ); $class->_registry->{$id} = $workflow_class; } }