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

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -