http://www.perlmonks.org?node_id=1063388

texan4ever has asked for the wisdom of the Perl Monks concerning the following question:

I am attempting to use a module I downloaded from CPAN. I am on a unix system where I dont have root permissions. So the CPAN module will have to go in my home directory.

I untarred the CPAN module here:
/users/<myusername>/perl/Tk-DKW-0.03

I ran the make file. It put the module files at:
Tk-DKW-0.03/blib/lib/Tk

I went to the example directory:
Tk-DKW-0.03/examples

Then I edited one of the examples and put a use statement at the top:
#! /usr/bin/perl use lib "/users/<myusername>/perl/Tk-DKW-0.03/blib/Tk"; use Tk::Menustrip;
I then get this error:
(attocs951:examples)#482 ./menustrip.pl Can't locate Tk/Menustrip.pm in @INC (@INC contains: "/users/<myuserna +me>/perl/Tk-DKW-0.03/blib/lib/Tk /usr/lib64/perl5/5.8.5/x86_64-linux- +thread-multi /usr/lib/perl5/5.8.5 /usr/lib64/perl5/site_perl/5.8.5/x8 +6_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.4/x86_64-linux +-thread-multi . . . . .

If I do a ls of the directory I see the modules:
ls /users/<myusername>/perl/Tk-DKW-0.03/blib/lib/Tk total 208K 4.0K CheckBox.pm* 12K Menustrip.pm* 4.0K ChildNotification.pm* 4.0K ProgressIndicator.pm* 60K Columns.pm* 4.0K Signals.pm* 12K ComboEntry.pm* 16K SplitFrame.pm* 8.0K CornerBox.pm* 8.0K TabbedForm.pm* 20K DockFrame.pm 16K TabFrame.pm* 28K IconCanvas.pm* 12K TableEdit.pm*

I dont understand what I am doing wrong.