>>>>> "David" == David M Karr <[EMAIL PROTECTED]> writes:
  David> At the end of this, I have a little Perl test script called
  David> "chdirtest".

I just knew I was going to forget to attach it.  Here it is:

-----------------------------
#! /usr/local/bin/perl
use English;
use Cwd;
use Cwd 'chdir';
use strict;

$::dir  = $ARGV[0];

print ::stdout "dir[" . $::dir . "]\n";
chdir $::dir;
print ::stdout "PWD[" . $ENV{'PWD'} . "]\n";
system('ls');
-----------------------------

-- 
===================================================================
David M. Karr     ; w:(425)487-8312     ; TCSI & Best Consulting
[EMAIL PROTECTED]    ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

Reply via email to