in reply to
system pwd
Don't use
system()
if you need the output (it grabs the return code!) to be captured in a variable. Use the backticks instead:
my $dir = `pwd`;
[download]
Also, but you probably know, you don't need Dumper to print a scalar. ;-)
Michele.
Comment on
Re: system pwd
Download
Code
In Section
Seekers of Perl Wisdom