Debuggit

 view release on metacpan or  search on metacpan

lib/Debuggit/Manual.pm  view on Meta::CPAN


I know it's very fashionable to mark any module you put on CPAN for the first time as version
0.000000001, and then take about eight years before daring to release a 1.0.  However, this module
(in earlier incarnations) was used in production code for over 10 years before I put it on CPAN, so
I don't really think it makes much sense to call it 0.01.  I've chosen to start its CPAN life at
2.01, as this is its 3rd major rewrite.  If it makes you feel better, just subtract 2 from the
version number and you'll get a fairly accurate idea of its "true" CPAN version.  Just be aware that
it has had a pretty full life outside CPAN as well.

The Changes file details this life fairly accurately.  The version numbers are assigned using 20/20
hindsight, and I've filled in a few gaps in the historical notes, but all the dates and most of the
commit messages are fully accurate, thanks to the wonders of version control.



=head1 The DEBUG Constant

C<DEBUG> is a constant (similar to those defined with C<use constant>) which holds your current
debugging level.  Because it's implemented using constant folding, any conditional based on it will
actually be removed during compile-time if the debugging level isn't high enough (or turned off
completely).  For instance, this code:



( run in 1.561 second using v1.01-cache-2.11-cpan-71847e10f99 )