http://qs1969.pair.com?node_id=11133671

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