http://www.perlmonks.org?node_id=812514


in reply to module with external file

There is no single best practice. Different people have different preferences and practices, including (and not limited to): Here's a couple of other useful nodes where discussion has taken place:

Replies are listed 'Best First'.
Re^2: module with external file
by spiros (Beadle) on Dec 12, 2009 at 16:41 UTC
    Hello, thanks for the reply - I apologise if my question was not clear. I know how to create and manipulate config files in general. What I am after is any good practices of having a distribution with a config file. Is it as simple as creating a .conf and having it in the same directory? Does CPAN installation support this etc thanks Spiros
      Oh, in that case you can look at something like Module::Install::Share for handling the installation of non-code files with your distribution.