Once I changed it as @ options etc,
The key difference is moving $file outside of qw() because qw() doesn't interpolate. Creating an array of options instead of one containing the whole command is just aesthetics. It all results in the same list of arguments.
In reply to Re^2: system commands aren't working as a loop.
by ikegami
in thread system commands aren't working as a loop.
by smanicka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |