jacques has asked for the wisdom of the Perl Monks concerning the following question:
And here's what I think is a simple question: should I place that "helper" file in the same directory as the module? Does it matter? I have noticed on CPAN that many people put additional files in a directory structure similar to this:
Some/Module.pm
Some/Module/Helper.pm
Notice that the directory has the same name as the pm file.
Should I even name the "helper" file with .pm at the end? All it holds are those routines that the main pm file uses. I will probably require the file in the module.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Separate files for CPAN dist
by Joost (Canon) on Jan 06, 2005 at 20:30 UTC | |
|
Re: Separate files for CPAN dist
by xdg (Monsignor) on Jan 06, 2005 at 22:03 UTC | |
|
Re: Separate files for CPAN dist
by brian_d_foy (Abbot) on Jan 07, 2005 at 06:28 UTC | |
|
Re: Separate files for CPAN dist
by mkirank (Chaplain) on Jan 07, 2005 at 08:01 UTC | |
by brian_d_foy (Abbot) on Jan 07, 2005 at 20:19 UTC | |
by mkirank (Chaplain) on Jan 08, 2005 at 08:21 UTC | |
|
Re: Separate files for CPAN dist
by jacques (Priest) on Jan 07, 2005 at 04:16 UTC |