in reply to Re: Switching from backticks to open
in thread Switching from backticks to open
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Switching from backticks to open
by repellent (Priest) on Nov 03, 2008 at 17:51 UTC |