3 # BioPerl module for Bio::Root::Version
5 # Cared for by Aaron Mackey <amackey@virginia.edu>
7 # Copyright Aaron Mackey
9 # You may distribute this module under the same terms as perl itself
11 # POD documentation - main docs before the code
15 Bio::Root::Version - provide global, distribution-level versioning
19 package Bio::Tools::NiftyFeature;
20 require Bio::Root::RootI;
23 # later, in client code:
25 use Bio::Tools::NiftyFeature 3.14;
28 ## alternative usage: NiftyFeature defines own $VERSION:
29 package Bio::Tools::NiftyFeature;
32 # later in client code:
35 # ensure we're using an up-to-date BioPerl distribution
38 # NiftyFeature has its own versioning scheme:
39 use Bio::Tools::NiftyFeature 9.8;
43 This module provides a mechanism by which all other BioPerl modules
44 can share the same $VERSION, without manually synchronizing each file.
46 Bio::Root::RootI itself uses this module, so any module that directly
47 (or indirectly) uses Bio::Root::RootI will get a global $VERSION
48 variable set if it's not already.
55 User feedback is an integral part of the evolution of this and other
56 Bioperl modules. Send your comments and suggestions preferably to one
57 of the Bioperl mailing lists. Your participation is much appreciated.
59 bioperl-l@bioperl.org - General discussion
60 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
64 Report bugs to the Bioperl bug tracking system to help us keep track
65 the bugs and their resolution. Bug reports can be submitted via the
68 http://bugzilla.open-bio.org/
70 =head1 AUTHOR - Aaron Mackey
72 Email amackey@virginia.edu
76 The rest of the documentation details each of the object
77 methods. Internal methods are usually preceded with a _
82 # Let the code begin...
85 package Bio
::Root
::Version
;
88 our $VERSION = '1.006000';
89 $VERSION = eval $VERSION;
92 # try to handle multiple levels of inheritance:
97 if ($pkg =~ m/^Bio::/o &&
98 not defined ${$pkg . "::VERSION"}) {
99 ${$pkg . "::VERSION"} = $VERSION;