in reply to Calculations before using lib;
use FindBin qw($Bin); my $dir; BEGIN { if ($Bin =~ /^(\/.+\/monkeyman\/bin)(\/.+)?/) { $dir = "$1/lib"; } use lib $dir; use MonkeyMan;
See perlsub for details.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Calculations before using lib;
by ikegami (Patriarch) on Aug 04, 2014 at 16:10 UTC | |
Re^2: Calculations before using lib;
by v_melnik (Scribe) on Aug 04, 2014 at 15:09 UTC | |
Re^2: Calculations before using lib;
by afoken (Chancellor) on Aug 05, 2014 at 04:40 UTC |