tosystem $cmd;
is never a good idea. All it does is introduce memory overhead and lag. It definitely doesn't help the OP interpolate a Perl variable into a shell command.print `$cmd`;
In reply to Re^2: Command Line Arg contains Variable and more
by ikegami
in thread Command Line Arg contains Variable and more
by VinsWorldcom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |