Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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.


Comment on Re: Problem understanding how to use modules
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2015-07-29 07:16 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 (260 votes), past polls