in reply to system pwd
The reason you are getting the pwd is because pwd prints to standard out.
If you want to capture the output of the pwd in the variable use my $dir = `pwd`;
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: system pwd
by crouchingpenguin (Priest) on May 21, 2003 at 23:27 UTC |