1Exporter::Declare::ExpoUrste:r:GCeonnetrraitbourt(e3d)PEexrplorDtoecru:m:eDnetcaltairoen::Export::Generator(3)
2
3
4
6 Exporter::Declare::Export::Generator - Export class for exports that
7 should be generated when imported.
8
10 Export class for exports that should be generated when imported.
11
13 $class->new( $ref, $ref, exported_by => $package, type => $type, %data
14 )
15 You must specify the type as 'sub' or 'variable'.
16
17 $export->inject( $package, $name, @args )
18 Calls generate() with @args to create a generated export. The new
19 export is then injected.
20
22 $new = $export->generate( $import_class, @args )
23 Generates a new export object.
24
25 $type = $export->type()
26 Returns the type of object to be generated (sub or variable)
27
29 Chad Granum exodist7@gmail.com
30
32 Copyright (C) 2010 Chad Granum
33
34 Exporter-Declare is free software; Standard perl licence.
35
36 Exporter-Declare is distributed in the hope that it will be useful, but
37 WITHOUT ANY WARRANTY; without even the implied warranty of
38 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license
39 for more details.
40
41
42
43perl v5.32.0 2020-0E7x-p2o8rter::Declare::Export::Generator(3)