in reply to Command-line arguments to command-line Perl
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Command-line arguments to command-line Perl
by RecursionBane (Beadle) on Oct 03, 2010 at 20:51 UTC | |
by morgon (Priest) on Oct 03, 2010 at 23:04 UTC | |
by RecursionBane (Beadle) on Oct 04, 2010 at 04:58 UTC | |
by suhailck (Friar) on Oct 04, 2010 at 01:11 UTC | |
by RecursionBane (Beadle) on Oct 04, 2010 at 04:57 UTC |