more useful options | |
PerlMonks |
Re: Calling a subroutine located in a moduleby Rich36 (Chaplain) |
on Nov 02, 2001 at 04:18 UTC ( [id://122726]=note: print w/replies, xml ) | Need Help?? |
If you're not working with a subroutine within the package that you are in (in this case "main"), you have to define which package the subroutine is in (i.e. the module).
Try...
... where "ModuleName" is the name of the module that you've created. Also, make sure that your module is loaded up correctly in @INC. Rich36 There's more than one way to screw it up...
In Section
Seekers of Perl Wisdom
|
|