The subroutines in @EXPORT_OK are subroutines that are allowed to be exported. To export them you need to explicitly request them:
use My::Module qw/genHeader/;
Either that, or you could add it to the @EXPORT array, in which case it'll get exported automatically.
Note though that this is generally considered rude.
[ ar0n -- want job (boston) ]
In reply to (ar0n) Re: My first perl module
by ar0n
in thread My first perl module
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |