build your dist and run Perl::Critic on the built files