Very Short Moose
Its fix a but post-ette here in the Moose-Pen.
Yesterday I left off with this error;
Can't locate object method "alias" via package "Database::Accessor::Param"
GitHub\database-accessor-driver-dbi\lib/Database/Accessor/Driver/DBI.pm line 412.
So today I figure I better fix it.
For once in the Perl world the problem and error message are quite clear. Seem I never did add in the 'Database::Accessor::Roles::Alias' into the ' Database::Accessor::Param' class so that is very easy to fix up.
package
Database::Accessor::Param;
use Moose;
extends 'Database::Accessor::Base';
++ with qw(Database::Accessor::Roles::Alias');
has value => (
Just add it in an on the retest I bingo;
… ok 9 - 2 Fields and 2 parama retrieve SQL correctok 10 - 2 Fields and 2 parama retrieve params correct
…
So a real sort post-ette for today.
Leave a comment