in reply to Re: system commands aren't working as a loop.
in thread system commands aren't working as a loop.
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.
|
|---|