Subject: | Compile-time coercion error under Moose 1.21 |
Can not use DBICx::MapMaker any more.
I have not worked on my code in a while, but DBICx::MM used to work.
Now that I'm at Moose 1.21, I'm getting the following error message about left_class coercion to Str.
The simple repro case is t/00-load.t.
C:\strawberry\cpan\build\DBICx-MapMaker-0.02-mjd5Nm\t>perl -I..\lib 00-
load.t
1..1
You cannot coerce an attribute (left_class) unless its type (Str) has a
coercion at ..\lib/DBICx/MapMaker.pm line 14
require DBICx/MapMaker.pm called at (eval 4) line 2
main::BEGIN() called at ..\lib/DBICx/MapMaker.pm line 0
eval {...} called at ..\lib/DBICx/MapMaker.pm line 0
eval 'package main;
use DBICx::MapMaker @{$args[0]};
1;