# Blosxom Plugin: cpan_module_tag # Author: Dean Wilson # Version: 0.1 (20050602) # Plugin Homepage: http://www.unixdaemon.net/blosxom_plugins.html#cpan_module_tag # License: GPL # Documentation: Please see the end of this file. package cpan_module_tag; sub start { 1; } sub story { my ($pkg, $path, $filename, $story_ref, $title_ref, $body_ref) = @_; $$body_ref =~ s!!$1!sg; $$body_ref =~ s!!$1!gs; $$body_ref =~ s!([^>]*)!$1!sg; 1; } 1; __END__ =head1 NAME Blosxom Plugin: cpan_module_tag =head1 SYNOPSIS This extension allows you to link to CPAN modules in your blog posts without performing the tedious steps of looking up the module, getting the URL, putting it in an etc. You can specify a link to a module using any of the following shortcuts: Tie::Scalar::Decay And it will be translated in to a full that points to the module on CPAN. =head1 VERSION 0.1 =head1 AUTHOR Dean Wilson =head1 LICENSE GPL =cut