On Fri, 15 Nov 2002, Ano Nymus wrote:

> Hi,
> 
> the call
> 
> $name = system"uname -a";

perldoc -f system
system returns the exit status of the command.
You need to use backticks or the qx operator
$name = `uname -a`;

Better still take a look at the Config module
perldoc Config
Avoid backticks or system or qx if possible

> 
> prints the result to STDOUT an not in the variable §name
> 
> What can i do to get the result into the $name variable?
> 
> Greetings
> 
> Willy


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to