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

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?
  • Comment on Re^3: FindBin works differently on Fedora Core 2?

Replies are listed 'Best First'.
Re^4: FindBin works differently on Fedora Core 2?
by samtregar (Abbot) on Jun 08, 2004 at 17:06 UTC
    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.
        Nope.

        -sam