in reply to Current working directory on win32
It seems there's a problem with GetFullPathName - it bombs out here too...
But why the fuss with Win32-specificness? How about:
use strict; use warnings; use Cwd; print getcwd(); [download]
---Lars