1 package Bio
::Root
::Version
;
6 package Bio::Tools::NiftyFeature;
7 require Bio::Root::RootI;
9 # later, in client code:
11 use Bio::Tools::NiftyFeature 3.14;
13 ## alternative usage: NiftyFeature defines own $VERSION:
14 package Bio::Tools::NiftyFeature;
17 # later in client code:
20 # ensure we're using an up-to-date BioPerl distribution
23 # NiftyFeature has its own versioning scheme:
24 use Bio::Tools::NiftyFeature 9.8;
28 This module provides a mechanism by which all other BioPerl modules
29 can share the same $VERSION, without manually synchronizing each file.
31 Bio::Root::RootI itself uses this module, so any module that directly
32 (or indirectly) uses Bio::Root::RootI will get a global $VERSION
33 variable set if it's not already.
35 =head1 AUTHOR Aaron Mackey
39 our $VERSION = '1.007002';
42 # try to handle multiple levels of inheritance:
47 if ( $pkg =~ m/^Bio::/o
48 and not defined ${$pkg . "::VERSION"}
50 ${$pkg . "::VERSION"} = $VERSION;