perl - How to access an added method to my DBIC model -
i using catalyst , dbic web application, trying access method added manually(below comment should edits must in place) in dbic generated catalyst::plugin::configloader .
let's method's name permission_to_delete().
i accessed using this:
$c->model('db::myapp')->permission_to_delete(somevalue);
and error message:
can't locate object method "permission_to_delete" via package "dbix::class::resultset
am accessing method correctly?
Comments
Post a Comment