in reply to Re: FindBin works differently on Fedora Core 2?
in thread FindBin works differently on Fedora Core 2?

Another fine idea, but both these systems are using the XS version according to your test.

-sam

  • Comment on Re^2: FindBin works differently on Fedora Core 2?

Replies are listed 'Best First'.
Re^3: FindBin works differently on Fedora Core 2?
by eserte (Deacon) on Jun 08, 2004 at 17:02 UTC
    And the XS code has also different paths, depending if your system supports fchdir or not. Can you check in the debugger whether it is actually abs_path which gives different results?
      They give the same results, both appear to strip trailing spaces:

      Fedora1:

      $ perl5.8.3 -MCwd=abs_path -e 'print abs_path("/tmp/")' /tmp

      Fedora2:

      $ perl5.8.3 -MCwd=abs_path -e 'print abs_path("/tmp/")' /tmp

      -sam

        Try it on /home/krang/, maybe it acts differently on this directory.