> Can someone help me with capturing an output of a system() call? > > ie ($a)=system("uname -n"); > > where $a would have the output value. >
perldoc -q 'output of a command' You want backticks instead, though there are better ways to come by the sysem name, and don't use $a.... ($name) = `uname -n`; See the Sys::Hostname module... http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]