in reply to Re^2: Use of single quotes versus double quotes
in thread Use of single quotes versus double quotes
"Perl Best Practices", by Conway. Chapter 4. "Use interpolating string delimiters only for strings that actually interpolate."
I think the reasoning there is so that you don't unexpectedly get interpolation when you don't expect it. IMO, it's easier to always expect interpolation, as more often than not it's desired, and use single quotes only when it's clearer.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Use of single quotes versus double quotes
by Devanchya (Beadle) on Dec 08, 2006 at 21:59 UTC |
In Section
Seekers of Perl Wisdom