my $cmd = 'ls -la'; my @out = qx/$cmd/; [download]
In reply to Re: Variable expansion by perlplexer in thread Variable expansion by stephenpry