Using Text::ParseWords will introduce some incompatibilities.
shellwords parses the text in a manner "similar to most Unix shells". Backticks use the bourne shell, not "most unix shells".
Redirection and other shell instructions are silently treated as arguments instead of resulting in an error.
Environment and special variables won't be interpolated.
Globs won't be expanded.
Update: Added last item.
In reply to Re^2: Switching from backticks to open
by ikegami
in thread Switching from backticks to open
by Eule
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |