Badger
Badger copied to clipboard
Badger::Class::Methods fails to compile
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.