Exporter-Simple
view release on metacpan or search on metacpan
Revision history for Perl extension Exporter::Simple.
1.10 Thu Nov 21 17:00:15 CET 2002
- Another almost-TOTAL rewrite. Version 1.00 *was* beautiful, but didn't
quite do what we wanted. Slaven Rezic pointed out that it was still
necessary to declare our() vars in packages that imported from a module
that used Exporter::Simple and asked if this requirement could be
removed. The solution turned out to be somewhat involved (read the
source for details). Basically the problem was that we exported
everything during INIT, but perl complains if it doesn't find a
variable in a package's symbol table during BEGIN. That's why the our()
declaration was still necessary. Now I've reworked things so that
scalars, arrays and hashes get exported during BEGIN, but subroutines
subclass it, things were a lot easier. Now using the attributes
will populate the exporting package's @EXPORT, @EXPORT_OK
and %EXPORT_TAGS direcltly, and we let Exporter have its way
(with a few slight modifications).
It's beautiful. And more proof of the old adage "if it's too
complicated, there's probably something wrong with it" - when
it's right, it's rather simple and elegant and things easily
fall into place.
0.13 Fri Mar 15 22:42:16 CET 2002
- Incorporated two patches sent by Richard Clamp in response
to bug reports by Mark Fowler (thanks guys). First, Makefile.PL
now contains Filter::Simple in its PREREQ_PM, and it builds with
a newer Attribute::Handler and Filter::Simple, which mess
around with our import() sub.
0.12 Tue Jul 3 13:07:30 CEST 2001
- Changed source filter to insert lexical-inspecting code
at the end of the calling module
- Added documentation effectively saying 'our attributes
( run in 0.540 second using v1.01-cache-2.11-cpan-49f99fa48dc )