Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Problem understanding how to use modules

by kennethk (Abbot)
on Nov 19, 2013 at 21:17 UTC ( #1063392=note: print w/replies, xml ) Need Help??


in reply to Problem understanding how to use modules

I think you mean
use lib "/users/<myusername>/perl/Tk-DKW-0.03/blib/lib";
The use Tk::Menustrip; looks for Tk/Menustrip.pm in the directories listed in @INC, not Menustrip.pm. See require, whose mechanism underlies use.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1063392]
help
Chatterbox?
[choroba]: ^ my daily bread
[Eily]: remember kids, the "first" step™ to avoid this """kind""" of issues is to not write bad code in the first place™
[erix]: but what will we eat tomorrow?

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













    Results (349 votes). Check out past polls.

    Notices?