Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Simple Module Tutorial

by Anonymous Monk
on Mar 07, 2011 at 16:58 UTC ( [id://891856] : note . print w/replies, xml ) Need Help??


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

Hi toolic

For some reason I can't reply to your latest post but thanks a mil! I did copy the module exactly but not the script. Somehow I mixed up case 1 and case 2. I expected case 1 not to work but case 2 but instead of coding

use MyModule qw(&func1);

I simply used

use MyModule;

Thanks a lot for pointing it out, it seems to work now. I have learned quite a bit.

Best regards,

Gideon