polettix has asked for the wisdom of the Perl Monks concerning the following question:
On the other hand, I also borrowed the use of the $VERSION variable from the module world:
Argh! Now I've to update the VERSION in two places! What's worst, this happens with modules as well, even if this kinda bothers me less because I'm not that module creator :)use version; my $VERSION = qv( '0.0.1' );
Regarding scripts, I'm leaning towards eliminating the $VERSION variable, just because I seem to use it as a result of some sneaky form of cargo cult. Before I do this, anyway, I'd like to hear comments. Regarding modules, I understand the need for $VERSION, but then the double-VERSION problems strikes back.
How do you address this problem?
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: $VERSION diversion
by Herkum (Parson) on May 02, 2006 at 13:51 UTC | |
|
Re: $VERSION diversion
by tinita (Parson) on May 02, 2006 at 22:09 UTC | |
|
Re: $VERSION diversion
by polettix (Vicar) on Jul 27, 2006 at 09:46 UTC |