in reply to use of <STDOUT>

If you just want the current directory, use core module Cwd.

use Cwd; print cwd;


TGI says moo