Exporter::Simple
Exporter::Simple
works around the double listing of symbol names- (once in the code and once in the export-definition)
- Drawback: You need to subclass it.
file: examples/Groon4.pm1: package Groon4; 2: use strict; 3: use warnings; 4: use base 'Exporter::Simple'; 5: 6: sub kadoonk : Exportable { print "KADOONK!!\n" } 7: sub blorf : Exportable { print "blorf..\n" } 8: sub skaplunch : Exported { print "SKAPlunch\n" } 9: 10: 1;