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);
In reply to Re^4: Simple Module Tutorial
by toolic
in thread Simple Module Tutorial
by tachyon
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |