Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Functions not importing when module in folder

by choroba (Bishop)
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.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2017-11-20 02:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (283 votes). Check out past polls.

    Notices?