in reply to getcwd failed

You could try system('readlink -f .') or, if your application is interactive, shell out with system('bash') and have a look.

-- 
Ronald Fischer <ynnor@mm.st>

Replies are listed 'Best First'.
Re^2: getcwd failed
by llancet (Friar) on Apr 29, 2010 at 10:33 UTC
    I cannot reproduce the issue. After I exited the remote shell and re-login, the script works fine...