[cgiapp] [announce] CGI::Application::Plugin::YAML

Lyle webmaster at cosmicperl.com
Sun Jan 18 21:29:14 EST 2009


Hi All,
  I've released v0.02 of my YAML plugin. When I looked at using YAML I 
couldn't bare the thought of the functions it exports by default being 
called Load and Dump. This just seemed far to ambiguous and like it 
might clash with other methods in my app. Also the module seemed quite 
large to load when not all my routines would use it.
  I've created this plugin which uses lazy loading, so the YAML module 
isn't loaded at all unless you try to call one of the routines. It gives 
you a method called YAML which is actually an object with the Load and 
Dump functions as methods.

$self->YAML->Load( $yaml );
etc...


Lyle



More information about the cgiapp mailing list