![]() |
|
We don't bite newbies here... much | |
PerlMonks |
How to syntax-check Catalyst code which throws 'Invalid CODE attributes' errors?by LittleJack (Beadle) |
on Jun 09, 2021 at 01:33 UTC ( #11133671=perlquestion: print w/replies, xml ) | Need Help?? |
LittleJack has asked for the wisdom of the Perl Monks concerning the following question: I'm having a problem doing perl -c on files which use Attributes. The error messages are like Invalid CODE attributes: Chained('/') : PathPart('foo') : CaptureArgs('0') because of the Attributes used in some subs in the file. I understand this is something to do with Moose and a somewhat experimental feature? Is what I need some other command flag to add to my perl -c command? Or is there some library I can include with -I when I run the syntax check, which will whitelist this feature? Or really just any way to get past this issue and find more low-level problems like a missing comma. TIA
Back to
Seekers of Perl Wisdom
|
|