in reply to abs_path problem

You cannot chdir to a file. chdir to a directory.

Update: Sorry I thought OP was telling a fib and the colleague was running a different script.

non-Perl: Andy Ford

Replies are listed 'Best First'.
Re^2: abs_path problem
by ikegami (Patriarch) on Dec 19, 2006 at 21:23 UTC
    The function is supposed to return the absolute path to a file. He's not trying to chdir to a file.