On Dec 21, 2007, at 5:54 , Larry Wall wrote:

On Thu, Dec 20, 2007 at 03:24:30PM -0800, Michael G Schwern wrote:
: Jonathan Scott Duff wrote:
: [1] Note, I'm the sort of person that uses "" until I have a reason otherwise.

Well, me too, but P6 just provides a different set of reasons.  :)

To you and me, the fact that there are single quotes means there's
something there to hide.  But other people think the other way and
see double quotes as indicating there's something to interpolate.
I think PBP comes down on that side, but to me, single quotes are a

FWIW, as a sysadmin who's learned (sometimes the hard way) that paranoia is good when coding, I tend to use single quotes in Perl (and shell) code unless I specifically want interpolation to happen. Also, I come down on the side of "generic interpolation should be a little harder to enable": either with a more complex interpolation syntax (although your arguments for simple braces have merit) or a quoting adverb which defaults off.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


Reply via email to