Abel,

No, you don't have to escape them all.  Perl treats single and double
quotes differently.  Single-quoted strings don't do interpolation and
double-quoted strings do.  

Jeff

-----Original Message-----
From: Abel Daniel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 10, 2005 12:23 PM
To: tutor@python.org
Subject: [Tutor] Re: Perl Symbology


Bill Mill writes:

> I get the impression that many pythonistas don't like string  
>interpolation. I've never seen a clear definition of why. From "import 
>this":

     Explicit is better than implicit.

And doesn't perl's method mean that you have to escape _every_ _single_
'$' in strings? I think having to escape '\' is bad enough.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to