Hmmm, that's a tough one. Normally you can still escape a single quote inside single quotes, but maybe in this case it would be just easier to do a:
C:\> perl print 'joe\'s mama'; ^Z (for windows anyway) -----Original Message----- From: Dan Muey [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 3:05 PM To: beginners Subject: -e with single quotes Hello group. I'm tryign to do a perl -e '' command and am wondering if it is possible to do single quotes inside the single quotes. IE perl -e 'print "joe's mama";' Obvo=iously won't work perl -e 'print "joe\'s mama";' And any other versions of \\' all fail. Is there a way to use a single quote inside a single quoted -e command? Using a different character would just cause the same problem but with different characters right? TIA Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>