Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Functions not importing when module in folder

by choroba (Chancellor)
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?
[erix]: PostgreSQL 10 rc 1 is released

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2017-09-21 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (248 votes). Check out past polls.

    Notices?