Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR : Can't locate object method "match" via package "DateTime::Event::Cron" at /home/zenoss/check_activemq.pl line 96. #15415

Closed
p5pRT opened this issue Jul 2, 2016 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Jul 2, 2016

Migrated from rt.perl.org#128521 (status was 'open')

Searchable as RT128521$

@p5pRT
Copy link
Author

p5pRT commented Jul 2, 2016

From abhishek.chordia@homeshop18.com

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.

Regards
Abhishek

@p5pRT
Copy link
Author

p5pRT commented Jul 2, 2016

@p5pRT
Copy link
Author

p5pRT commented Jul 2, 2016

From @cpansprout

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

@p5pRT
Copy link
Author

p5pRT commented Jul 2, 2016

The RT System itself - Status changed from 'new' to 'open'

@xenu
Copy link
Member

xenu commented Oct 22, 2019

DateTime::Event::Cron is a CPAN module and the correct place to report problems with it is its RT queue.

@xenu xenu closed this as completed Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants