in reply to System() in list mode?
For output I get:
$PATH
env: bash: No such file or directory
Where's the issue here? This is the correct output; the first system didn't expand $PATH (which we all know we all know about now), and in the second, you changed $PATH to foo and I guess you don't have a binary called foo/bash! If your PATH contained bash, using env PATH=... will work just fine.
Anne
|
---|
Replies are listed 'Best First'. | |
---|---|
A reply falls below the community's threshold of quality. You may see it by logging in. |
In Section
Seekers of Perl Wisdom