>>>>> On Tue, 4 Apr 2006 15:10:40 -0700, "Jan Dubois" <jand@ActiveState.com> said: > On Tue, 04 Apr 2006, John Peacock wrote: >> Jan Dubois wrote: >>>> -our $VERSION = '1.18'; +our $VERSION = '1.18_01'; >> $VERSION = eval ($VERSION); >> >> will prevent the warning. > Fine by me. >>> Is there a good reason to put these underscores into the version >>> numbers? >> >> Yes, it prevents CPAN/CPANPLUS from upgrading some poor schmuck >> running 5.6. to the most recent Perl with the module at a higher >> version (if I remember correctly). For CPAN.pm not needed > Of course the CPAN indexer could just be taught to ignore modules > included in core Perl distributions. It has been taught for dual life modules. For all other modules the underscore will prevent indexing but this doesn't seem important because as soon as these modules get a second life, they gat a new and higher version number anyway. So unless I'm missing something, the underscore in modules in the core seems cargo to me. -- andreas