document updated 12 years ago, on Jun 28, 2012
FindBin breaks in some cases:
Alternative modules that don't have these problems:
- [[*lib::abs]]
- [[*Find::Lib]]
- [[*FindBin::libs]]
- [[*Dir::Self]]
Alternatives, that only use core modules:
use Cwd 'abs_path';
use File::Basename;
use lib dirname( abs_path $0 );
use File::Basename;
use File::Spec::Functions 'rel2abs';
use lib dirname(rel2abs($0));