in reply to File::Spec error with rel2abs

If you're using $File::Find::name within the "wanted" routine, be aware that you also have a new working directory temporarily. Either use just $_ with rel2abs, or wait until you're done and use the saved results from $File::Find::name with your now restored original working directory. Your choice. Don't mix the two. {grin}

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: File::Spec error with rel2abs
by jacques (Priest) on Jan 07, 2005 at 04:10 UTC
    You are so awesome. Thanks.