http://qs321.pair.com?node_id=891848


in reply to Re^3: Simple Module Tutorial
in thread Simple Module Tutorial

You didn't copy the example exactly!

You copied case 1. Your code does not export any functions, just as the Tutorial says it won't. You need to export the functions before you try to use them that way:

use MyModule qw(&func1);