[PLUG-TALK] Perl Question

Rich Shepard rshepard at appl-ecosys.com
Thu Mar 17 18:49:04 UTC 2011


On Thu, 17 Mar 2011, wes wrote:

> being lazy, my solution is to copy the module (XBase.pm) into one of the
> paths that it checks.

wes,

   I'll be lazy, too. Having done this with both XBase.pm and Memo.pm (to
/usr/lib/perl5/5.10.1/i486-linux-thread-multi/, the first directory searched
by @INC) I still see the error:

[rshepard at salmo ~/grassdata]$ ./dbfdump --fs "|" towns.dbf > towns.csv
Can't locate XBase/Memo.pm in @INC (@INC contains:
/usr/lib/perl5/5.10.1/i486-linux-thread-multi /usr/lib/perl5/5.10.1
/usr/lib/perl5/site_perl/5.10.1/i486-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.10.1/i486-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl .) at
/usr/lib/perl5/5.10.1/i486-linux-thread-multi/XBase.pm line 2.

   Do I need to make an XBase directory to hold Memo.pm?

Rich



More information about the PLUG-talk mailing list