|Pathologically Eclectic Rubbish Lister|
Writing Modulesby perl.j (Pilgrim)
|on Aug 23, 2011 at 02:54 UTC||Need Help??|
perl.j has asked for the
wisdom of the Perl Monks concerning the following question:
I am writing my first module just to see if I can get it to work. It is extremely simple:
Then I used the module in a simpler script:
I know I got the module name right. My module is located in Perl/site/lib/Mine/Example/ on my computer. So why isn't my program printing "thing"?
UPDATE:I changed some package and folder names to make it easier on everyone. I also changed my code to look like my reply to davido. Added strictures.