logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Exporter::Declare::Export::Generator - Export class for exports that should be generated when imported.

Additional Methods

       $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)

Authors

       Chad Granum exodist7@gmail.com

Description

       Export class for exports that should be generated when imported.

Name

       Exporter::Declare::Export::Generator - Export class for exports that should be generated when imported.

Overriden Methods

       $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.

See Also