You can add:
to your script to make sure it finds your module first (assuming Test.pm is in the same directory as the script).use lib '.';
You probably just want to rename your module, though.
In reply to Re: Undefined subroutine
by mattriff
in thread Undefined subroutine
by J9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |