Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Functions not importing when module in folder

by choroba (Canon)
on Mar 25, 2013 at 13:36 UTC ( #1025303=note: print w/ replies, xml ) Need Help??


in reply to Functions not importing when module in folder

After changing the path, you also have to change the package name to My_Module_Folder::My_Module. It might be more appropriate not to change the package name, though, but use lib instead.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Functions not importing when module in folder
Download Code
Re^2: Functions not importing when module in folder
by Anonymous Monk on Mar 25, 2013 at 13:47 UTC
    Wow! Thank you so much! This has been bugging me so much.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025303]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2015-07-04 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls