develooper Front page | perl.perl5.porters | Postings from July 2016

[perl #128521] ERROR : Can't locate object method "match" viapackage "DateTime::Event::Cron" at /home/zenoss/ line 96.

Thread Previous
Father Chrysostomos via RT
July 2, 2016 19:53
[perl #128521] ERROR : Can't locate object method "match" viapackage "DateTime::Event::Cron" at /home/zenoss/ line 96.
Message ID:
On Sat Jul 02 10:14:35 2016, wrote:
> Hi Team,
> I am trying to use attached script from to different servers, one is
> runng with perl version v5.8.8 and second is running with v5.10.1.
> I getting below error with version v5.10.1 :
> Can't locate object method "match" via package "DateTime::Event::Cron"
> at /home/zenoss/ line 96.
> Can you please help me on this.

perlbug is not the correct place to ask such questions.  It is for reporting bugs in the perl interpreter and modules that come with it.

Nevertheless, I think I see your problem.  DateTime::Event::Cron did not get a ->match method until version 0.08 (see <>).  I suspect you have an older version of DateTime::Event::Cron in your 5.10.1 installation.


Father Chrysostomos

via perlbug:  queue: perl5 status: new

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About