perl-Blosxom-Debug - a blosxom helper module and source filter to provide a

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Blosxom-Debug
Package version 0.001
Package release alt1
Package architecture noarch
Package type rpm
Installed size 4.23 KB
Download size 4.23 KB
Official Mirror
Blosxom::Debug is a perl module to provide simple standardised debug logging
facilities to blosxom plugins. It exports a debug() function of the form:
debug($level, $message);
which logs $message to your webserver log if $level is greater than or equal
to the debug_level specified in your 'use' statement.
So the following statement:
debug(1, 'This is a level 1 message, visible only if debug_level >= 1');
will show up in your webserver log if you do a:
use Blosxom::Debug debug_level => 1;
but not if you do:
use Blosxom::Debug debug_level => 0;
In the latter case, however, all your debug statements are still all
executed, it is just that the output is suppressed because the debug_level
is too low. There is therefore a small runtime overhead incurred, which you
would probably prefer to avoid unless you're debugging.
For this reason, Blosxom::Debug is also a perl source filter which actively
uncomments debug statements if enabled. This allows you to distribute plugins
with both the use statement and all your debug statements commented out, and
therefore incurring no runtime overhead in production.
When you run into a problem you need to debug, you then simply uncomment
just the 'use' statement, which activates all (single-hash) commented debug
statements at runtime i.e.
use Blosxom::Debug debug_level => 1
Note that your debug statements therefore must be valid perl, since they
actually are executed as normal.
To actually hide debug statements from Blosxom::Debug, you must comment them
out with more than one hash e.g.


Package Version Architecture Repository
perl-Blosxom-Debug - - -


Name Value
/usr/share/perl5 -
perl(Filter/ -
rpmlib(PayloadIsLzma) -


Name Value
perl(Blosxom/ = 0.001
perl-Blosxom-Debug = 0.001-alt1


Type URL
Binary Package perl-Blosxom-Debug-0.001-alt1.noarch.rpm
Source Package perl-Blosxom-Debug-0.001-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Blosxom-Debug rpm package:
    # sudo apt-get install perl-Blosxom-Debug



See Also

Package Description
perl-Blosxom-Include-0.002-alt1.noarch.rpm a perl source filter to allow external configuration
perl-Blosxom-Plugin-0.02004-alt1.noarch.rpm Base class for Blosxom plugins
perl-BlueCoat-SGOS-1.05-alt1.noarch.rpm A module to interact with Blue Coat SGOS-based devices
perl-Bluepay-Bluepay20DailyReport-0.15-alt1.noarch.rpm The BluePay 2.0 Daily Report interface
perl-Bluepay-Bluepay20Post-0.10-alt1.noarch.rpm The BluePay 2.0 Post interface
perl-Bluetooth-Any-0.001-alt1.noarch.rpm Common interface to bluetooth functions
perl-BokkaKumiai-0.02-alt1.noarch.rpm Music Chord Progression Analysis Module, with writing Guitar Tabs methods
perl-Bolts-0.142650-alt1.noarch.rpm An Inversion of Control framework for Perl
perl-Bone-Easy-0.04-alt1.noarch.rpm perl module Bone-Easy
perl-Bone-Easy-scripts-0.04-alt1.noarch.rpm Bone-Easy scripts
perl-Book-Chinese-MasterPerlToday-0.02-alt1.noarch.rpm free book in Chinese <Master Perl Today>
perl-Bookmarks-Parser-0.08-alt1.noarch.rpm A class to parse and represent collections of bookmarks
perl-Boolean-Converter-0.01-alt1.noarch.rpm boolean object converter
perl-Boolean-String-0.01-alt1.noarch.rpm Strings with boolean values independent of perl's assumptions
perl-Bootylicious-1.14-alt1.noarch.rpm Blog software