YAPC::NA 2008 June 16-18, Chicago, IL | ||
|
The Joy of S'Ex - An Introduction to Sub::Exporter
By Ricardo Signes (rjbs) 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. |
|
Yet Another Perl Conference North America
|