1 2 3 4 5 6 7 8 9 10 11 12
package MyTestModule2; use warnings; @ISA = Exporter; require Exporter; @EXPORT_OK = 'test_function2'; sub test_function2 { return 'works'; } 1;