[Tutor] Re: Perl Symbology

Smith, Jeff jsmith at medplus.com
Thu Feb 10 19:59:04 CET 2005


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:abli at freemail.hu] 
Sent: Thursday, February 10, 2005 12:23 PM
To: tutor at 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 at python.org
http://mail.python.org/mailman/listinfo/tutor


More information about the Tutor mailing list