in reply to Re: Re: executing commands and getting output
in thread executing commands and getting output

$output = `command`; # ^ ^ # | |
The quotes around command are backticks (ASCII 96, hex 60), not single quotes.

As an alternative, you may use

$output = qx(command);