consider
system("fortune");
Does
perl -e 'print "hello \"quoted name\"\n";'
do something like you want?
Generally though if you use " and then want to print a " you need to escape it by preceding it with a \ see example above. Generalize to any type of quote character.
In reply to Re: Perl one-liner Quotes help
by mikeraz
in thread Perl one-liner Quotes help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |