RoseDB error on trying to run .pl script

65 Views Asked by At

when I try to run this .pl script:

\#!/usr/bin/perl

use strict;

use abc::abcBill;
use abc::abcBill::Manager;

abc::abcBill::Manager->update_abcBill(
 set => {  mb_status=>'Purged' },
 where=>[  mb_created_date => { ls => '2012-05-01 00:00:00' } ],
 debug =>1
);

The error I get is:

Can't locate object method "update_abcBill" via package "abc::abcBill::Manager"

I have checked my abcBill::Manager, and I have a make_manager method there, but it just wont compile the .pl script.

0

There are 0 best solutions below