At 07:51 2002-10-16 -0400, Morbus Iff wrote:
Or, on the other hand, anyone know of issues with FindBin? My previous
working version was using simply "use lib ./lib", but the newest version
(again, which works everywhere on Win98 and up) uses FindBin exclusively.
FindBin is reputedly severly broken. Search PerlMonks for a post from tye.
What is it that doesn't work?
In TGL, I do this:
#The directory this program is running from.
use File::Basename;
my $pathBase;
BEGIN {
unshift(@INC, ".");
$pathBase = dirname($0);
unshift(@INC, $pathBase);
}
You could also do a chdir(dirname($0)) in a begin block I guess.
/J
-------- ------ ---- --- -- -- -- - - - - -
Johan Lindström Sourcerer @ Boss Casinos [EMAIL PROTECTED]
Latest bookmark: "SourceForge.net Project Info - Perl Direct Conn..."
http://sourceforge.net/projects/pdcc/
dmoz (1 of 30): /Arts/Music/Styles/Rock/ 44