Cwd didn't work because it gives what directory
you are currently in not the directory the script is in!
Can't get FindBin to work..any idea what's wrong with the following?
my $Bin;
use FindBin qw($Bin);
use lib "$Bin/../lib";
print $Bin;
My apologies for posting aout easy stuff but I don't use Perl
normally..just doing a quick hack to someone else's script!
Thanks again.
"Jürgen Exner" <ju******@hotmail.com> wrote in
news:_l**************@nwrddc01.gnilink.net:
R D wrote:How do I get a *Windows* perl script to figure out what directory it is being run from/
perldoc Cwdexists in?
perldoc FindBin
jue