-
Notifications
You must be signed in to change notification settings - Fork 8
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 with perl 5.30 and Specio 0.47 #20
Comments
Can you provide some code to reproduce this error? I can't do much with just an error message. |
Hi Dave, We have a package defined as Util : package Util; use strict; sub get_datetime { In one of the main script we use: We are getting Compilation issue while trying to compile Util.pm itself: |
That's very odd. Can you try reinstalling Specio? I really don't know what could be causing this. |
Yes i tried installing version 0.47 but still same issue,. I will check if something else is causing this issue even I wonder what s wrong :( |
How are you installing modules? Are you using This error suggests to me that there's something weird about your perl install or how you're installing modules. |
We manually combine and install: |
Doing it manually as you described should work fine. Honestly, I'm really not sure what's going. I know that DateTime and Specio generally just work for people, and I don't think I've seen this error before. |
Sure thanks for checking this out,let me check if I can figure out the issue |
Can't locate object method "_allow_classes" via package "Specio::Constraint::ObjectCan" at /opt/localperl/lib/site_perl/5.30.0/Specio/Constraint/Role/CanType.pm line 47.
May I plz know if we need to have any other dependency that needed to be installed?
The text was updated successfully, but these errors were encountered: