Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: unix command with systemby dominix (Deacon) |
on Jan 17, 2004 at 07:59 UTC ( [id://322020]=note: print w/replies, xml ) | Need Help?? |
Some Monks have given you a better way to use your environmental values, but if you still want to use system command you have to output something and get it back using backtick if you want it to be stored in a variable, because (perl 's)system return an exit status, not the output of the command eg
-- dominix
In Section
Seekers of Perl Wisdom
|
|