The correct name of PERL_UTF8_magic is PERL_MAGIC_utf8, so use it in sv.c apidocs
[p5sagit/p5-mst-13.2.git] / lib / Module / Load / t / to_load / TestModule.pm
CommitLineData
0819efc5 1package TestModule;
2
3use strict;
4require Exporter;
85a8a980 5use vars qw(@EXPORT @EXPORT_OK @ISA $IMPORTED);
0819efc5 6
85a8a980 7@ISA = qw(Exporter);
8@EXPORT = qw(func2);
9@EXPORT_OK = qw(func1);
0819efc5 10
85a8a980 11### test if import gets called properly
12sub import { $IMPORTED = 1; goto &Exporter::import; }
13sub imported { $IMPORTED; }
0819efc5 14
85a8a980 15sub func1 { return "func1"; }
16
17sub func2 { return "func2"; }
0819efc5 18
191;