The first command contains characters special to the shell, so the entire thing (boguscommand 'filename') is handed to the shell. The second doesn't contain special characters, so Perl splits the string on whitespace and calls execvp directly - which will return an error if the command can't be found.
Abigail
In reply to Re: open won't die
by Abigail-II
in thread open won't die
by YuckFoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |