Also consider if you need to have (two) different configuration files at the same time.
I would ditch or disable the Perl::Critic rule that prohibits a direct require.
In reply to Re: What's the right way to include a config file as a .pm bareword?
by Corion
in thread What's the right way to include a config file as a .pm bareword?
by Cody Fendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |