Exporter::Declare::Export::Generator - Export class for exports that should be
generated when imported.
Export class for exports that should be generated when imported.
- $class->new( $ref, $ref, exported_by => $package, type => $type,
%data )
- You must specify the type as 'sub' or 'variable'.
- $export->inject( $package, $name, @args )
- Calls generate() with @args to create a
generated export. The new export is then injected.
- $new = $export->generate( $import_class, @args )
- Generates a new export object.
- $type = $export->type()
- Returns the type of object to be generated (sub or variable)
Chad Granum exodist7@gmail.com
Copyright (C) 2010 Chad Granum
Exporter-Declare is free software; Standard perl licence.
Exporter-Declare is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for
more details.