Skip to content

Badger::Class::Methods fails to compile #20

@puck

Description

@puck

Hey,

According to the perldoc for Badger::Class::Methods, you should be able to use this module directly, however it fails to compile with Perl v5.36:

puck@dirk:~/personal/RT/debian/Badger$ perl -Ilib -c lib/Badger/Class/Methods.pm 
Can't locate object method "mutators" via package "Badger::Class::Methods" at lib/Badger/Class.pm line 247.
BEGIN failed--compilation aborted at lib/Badger/Exception.pm line 44.
Compilation failed in require at lib/Badger/Base.pm line 28.
BEGIN failed--compilation aborted at lib/Badger/Base.pm line 28.
Compilation failed in require at (eval 6) line 1.
BEGIN failed--compilation aborted at (eval 6) line 1.
 at lib/Badger/Class/Methods.pm line 26.
BEGIN failed--compilation aborted at lib/Badger/Class/Methods.pm line 36.

And if I cut'n'paste the example, it also fails to compile. Is that expected?

The test cases all pass though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions