http://qs321.pair.com?node_id=11100998


in reply to Re^3: Cwd::abs_path or FindBin::Bin?
in thread Cwd::abs_path or FindBin::Bin?

Thanks again!

So am I right assuming that this should be the most portable way when I want to use just core modules?

use File::Basename; use File::Spec::Functions; use lib catdir( dirname( $FindBin::RealBin ), 'lib' );

s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e