hesco has asked for the wisdom of the Perl Monks concerning the following question:
I've been reworking a configuration module to fit inside the Best Practices framework provided by Module::Starter. When I installed Module::Starter::PBP it gave me templates which included the following code:
I know of no module named "version.pm", nor of any function named qv(). This code is throwing errors during the tests and build. Can anyone please clue me in on how this ought to be written, consistent with Perl Best Practices?use version; $VERSION = qv('0.0.1');
I'm guessing something like the following, but I don't really know. All clues appreciated.
Thanks,# use version; our $VERSION = '0.0.1';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is version a real module?
by ysth (Canon) on Dec 26, 2006 at 07:35 UTC | |
by hesco (Deacon) on Dec 26, 2006 at 07:39 UTC | |
by ikegami (Patriarch) on Dec 26, 2006 at 08:53 UTC | |
by ysth (Canon) on Dec 26, 2006 at 09:40 UTC | |
|
Re: Is version a real module?
by jesuashok (Curate) on Dec 26, 2006 at 07:40 UTC |