Subject: | use HTML::FormHandler::Moose emits an ugly warning with recent Moose. |
The following invocation results in a warning with a recent-enough Moose:
<<<
shlomi:$cat_dir$ perl -e 'use HTML::FormHandler::Moose;'
The old Moose::Util::MetaRole API (before version 0.94) has been
deprecated at
/usr/lib/perl5/vendor_perl/5.12.0/i386-linux-thread-multi/Moose/Util/MetaRole.pm
line 16
Moose::Util::MetaRole::apply_metaclass_roles('for_class',
'main', 'metaclass_roles', 'ARRAY(0x98a42f8)') called at
/usr/lib/perl5/vendor_perl/5.10.1/HTML/FormHandler/Moose.pm line 39
HTML::FormHandler::Moose::init_meta('HTML::FormHandler::Moose',
'for_class', 'main', 'metaclass', undef) called at
/usr/lib/perl5/vendor_perl/5.12.0/i386-linux-thread-multi/Moose/Exporter.pm
line 355
Moose::Exporter::__ANON__('HTML::FormHandler::Moose') called at
-e line 1
main::BEGIN() called at
/usr/lib/perl5/vendor_perl/5.10.1/HTML/FormHandler/Moose.pm line 1
eval {...} called at
/usr/lib/perl5/vendor_perl/5.10.1/HTML/FormHandler/Moose.pm line 1
Show quoted text
>>>
Please fix it.
Regards,
-- Shlomi Fish