in reply to lib pragma problem

Hi,

I normally use just this

use FindBin; use lib "$FindBin::Bin/../../libs"; use module1; use module2;
the bin from the FindBin give you the full path to you script.

Replies are listed 'Best First'.
Re^2: lib pragma problem
by tamaguchi (Pilgrim) on Jan 31, 2008 at 18:54 UTC
    Thank you very much this was exactly what I was looking for.
    use FindBin; use lib "$FindBin::Bin/../../libs"; use module1; use module2;