THis looks like linux, since you use single quotes after the -e.
In this case, you need to escape (for the shell) every other single quote till the end of the argument.
What I usually do to avoid the isue is to use "qq" or "q" to qote the pieces that need quoting.
Syntactic sugar causes cancer of the semicolon. --Alan Perlis
In reply to Re: Command-line arguments to command-line Perl
by NetWallah
in thread Command-line arguments to command-line Perl
by RecursionBane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |