Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Problem understanding how to use modules

by daxim (Chaplain)
on Nov 19, 2013 at 21:22 UTC ( #1063393=note: print w/replies, xml ) Need Help??

in reply to Problem understanding how to use modules

use lib "/users/<myusername>/perl/Tk-DKW-0.03/blib"; is correct. Perl wants to load Tk/, so the directory name must end in blib, not blib/Tk.

Better solution: don't edit the example and simply set the include path from the commandline:

$ cd /users/<myusername>/perl/Tk-DKW-0.03 $ perl -Mblib examples/
See blib.

Update: this half-installed directory setup is only useful for testing. If you want to use Tk-DKW productively, you must install the distribution. local::lib helps you to set up the necessary environment variables so that the make install will target your home directory, not the system location where you have no write permission.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1063393]
[Corion]: Oh yay. Thanks to The New Firefox, my irc client ChatZilla doesn't work anymore either... So I'll have to keep an old FF around just for that...
[Corion]: 100% of my FF add-ons are unsupported currently. Maybe upgrading Firefox wasn't such a good idea after all ;)
[Corion]: Also suffering is my 2-factor Github sign-in, as now, FF can't read my USB token anymore. "This was a horrible idea" is slowly dawning on me ;)

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

    Results (293 votes). Check out past polls.