in reply to Add directry to @INC system wide
I add the following to my programs
Then you can use any module(s) located in the ./lib directory.
-Kiel
use FindBin qw($Bin); use lib "$Bin/lib";
Then you can use any module(s) located in the ./lib directory.
-Kiel
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Add directry to @INC system wide
by ikegami (Patriarch) on Mar 07, 2013 at 00:55 UTC |
In Section
Seekers of Perl Wisdom