2 # BioPerl module for Bio::Root::Version
4 # Please direct questions and support issues to <bioperl-l@bioperl.org>
6 # Cared for by Aaron Mackey <amackey@virginia.edu>
8 # Copyright Aaron Mackey
10 # You may distribute this module under the same terms as perl itself
12 # POD documentation - main docs before the code
16 Bio::Root::Version - provide global, distribution-level versioning
20 package Bio::Tools::NiftyFeature;
21 require Bio::Root::RootI;
24 # later, in client code:
26 use Bio::Tools::NiftyFeature 3.14;
29 ## alternative usage: NiftyFeature defines own $VERSION:
30 package Bio::Tools::NiftyFeature;
33 # later in client code:
36 # ensure we're using an up-to-date BioPerl distribution
39 # NiftyFeature has its own versioning scheme:
40 use Bio::Tools::NiftyFeature 9.8;
44 This module provides a mechanism by which all other BioPerl modules
45 can share the same $VERSION, without manually synchronizing each file.
47 Bio::Root::RootI itself uses this module, so any module that directly
48 (or indirectly) uses Bio::Root::RootI will get a global $VERSION
49 variable set if it's not already.
56 User feedback is an integral part of the evolution of this and other
57 Bioperl modules. Send your comments and suggestions preferably to one
58 of the Bioperl mailing lists. Your participation is much appreciated.
60 bioperl-l@bioperl.org - General discussion
61 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
65 Please direct usage questions or support issues to the mailing list:
67 I<bioperl-l@bioperl.org>
69 rather than to the module maintainer directly. Many experienced and
70 reponsive experts will be able look at the problem and quickly
71 address it. Please include a thorough description of the problem
72 with code and data examples if at all possible.
76 Report bugs to the Bioperl bug tracking system to help us keep track
77 the bugs and their resolution. Bug reports can be submitted via the
80 http://bugzilla.open-bio.org/
82 =head1 AUTHOR - Aaron Mackey
84 Email amackey@virginia.edu
88 The rest of the documentation details each of the object
89 methods. Internal methods are usually preceded with a _
94 # Let the code begin...
97 package Bio
::Root
::Version
;
100 our $VERSION = '1.006900'; # pre-1.7
101 $VERSION = eval $VERSION;
104 # try to handle multiple levels of inheritance:
106 my $pkg = caller($i);
109 if ($pkg =~ m/^Bio::/o &&
110 not defined ${$pkg . "::VERSION"}) {
111 ${$pkg . "::VERSION"} = $VERSION;