Do you know where your variables are? | |
PerlMonks |
Re: Perl one-liner Quotes helpby mikeraz (Friar) |
on Jul 15, 2010 at 18:20 UTC ( [id://849822]=note: print w/replies, xml ) | Need Help?? |
consider system("fortune"); wait, not those kinds of quotes
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. Be Appropriate && Follow Your Curiosity
In Section
Seekers of Perl Wisdom
|
|