The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Exporter::Declare::Magic::Sub - Export class for subs which are exported.

DESCRIPTION

Export class for subs which are exported. Overrides inject() in order to hook into Devel::Declare on parsed exports.

OVERRIDEN METHODS

$export->inject( $class, $name );

Inject the sub, and apply the Devel::Declare magic.

NEW METHODS

$parser_name = export->parser()

Get the name of the parse this sub should use with Devel::Declare empty when no parse should be used.

AUTHORS

Chad Granum exodist7@gmail.com

COPYRIGHT

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.