ironcamel / Dancer-Plugin-DBIC

DBIx::Class Plugin for Dancer
1 stars 13 forks source link

perl -c makes database connection #22

Open rj667 opened 5 years ago

rj667 commented 5 years ago

Hi, I noticed that simply checking the syntax of code using this module with perl -c actually tries to make a database connection. This prevents me from syntax-checking code with production configuration in an environment that is not actual production, for example in a Jenkins job prepping a production build. Is there a way to syntax check without the database connection being made?