Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Monday August 08, 2005
10:40 AM

*gasp* Surfacing

[ #26182 ]

Okay, so what I've been doing lately at least a couple of people saw at YAPC:

  1. Writing a class that uses Module::Pluggable to allow you to build command plugins for the debugger.
  2. Writing a wrapper class for WWW::Mechanize that allows you to write plugins to add functions to and modify the operation of Mech

The tricky bit here in both cases is doing it without touching the base code at all. If you're interested in the gory details, see Devel::Command and WWW::Mechanize::Pluggable on CPAN.

I'm currently looking at the possibility of extracting all the special-purpose code in WWW::Mechanize::Pluggable into a pair of base classes - Class::Pluggability and Class::Pluggability::Plugbase, so anybody can write a pluggable wrapper for any module whatsoever.

And this is actually part of my actual job - woo! I'm having fun.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.