in reply to Re^2: Read System output Into a variable Name?
in thread Read System output Into a variable Name?

For the latter issue, regarding interpolation of the command string itself, see qx// with single-quotes.
$output = qx' command @which $should not be interpolated ';

--
[ e d @ h a l l e y . c c ]