>>>>> "Dan" == Dan Muey <[EMAIL PROTECTED]> writes:

Dan> print qx(pwd);

Which is just a roundabout way to say (while making Perl work harder
in the meanwhile):

        system "pwd";

but that'll fail on non-unix systems, so a more portable way is:

        use Cwd;
        print getcwd, "\n";

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to