The Joy of S'Ex - An Introduction to Sub::Exporter

By Ricardo Signes (‎rjbs‎)
Date: Tuesday, June 17, 2008 11:20 AM
Duration: 20 minutes
Target audience: Beginner
Language:
Tags: sub::exporter


The stock Perl "Exporter" allows you to construct simple, reusable toolkits. We'll look at how the Exporter works, and how it fails to take advantage of the powerful concepts on which it's built. We'll see how you can provide flexible import routines that allow your module's user to type even less and get code that behaves much more like part of his own program. You can avoid repeating unnecessary parameters to every overly-generic routine and can avoid collision-prone global configuration. All of this is made possible -- and easy -- by Sub::Exporter.


Perl Sites : perl | books | dev | history | jobs | learn | lists | use   
Yet Another Perl Conference North America