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/check_activemq.pl line 96.

Thread Previous
From:
Father Chrysostomos via RT
Date:
July 2, 2016 19:53
Subject:
[perl #128521] ERROR : Can't locate object method "match" viapackage "DateTime::Event::Cron" at /home/zenoss/check_activemq.pl line 96.
Message ID:
rt-4.0.18-11159-1467489228-1395.128521-15-0@perl.org
On Sat Jul 02 10:14:35 2016, abhishek.chordia@homeshop18.com 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/check_activemq.pl 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 <http://cpansearch.perl.org/src/MSISK/DateTime-Event-Cron-0.08/Changes>).  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
https://rt.perl.org/Ticket/Display.html?id=128521

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About