On Sat, Aug 09, 2008 at 01:09:23PM +0300, Gabor Szabo wrote: > If I have the following code in a file called Makefile.PL > > use FindBin; > print "$FindBin::Bin\n"; > > perl Makefile.PL prints > > /home/gabor/work/pugs > > no matter where the file is located. > > If the file is called a.pl with the same content > it prints the correct directory as expected. > > perl 5.8.8 on Ubuntu > perl -MFindBin -e'print $FindBin::VERSION' is 1.47 > > The only environment variable I can see containing pugs is PATH
I suspect you've fallen foul of the problem documented in the KNOWN BUGS section of the documentation. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net