[Melbourne-pm] Single vs double quotes: no real difference (was Re: Delivering PDFs via CGI)
Alfie John
alfiejohn at gmail.com
Mon Jun 19 04:54:38 PDT 2006
On 6/19/06, Jacinta Richardson <jarich at perltraining.com.au> wrote:
> It is unfortunate that this myth keeps being spread. What *does* matter about
> quoting is understanding. If you use only single quoted strings where you don't
> need interpolation, and double quoted strings when you do; then you train
> someone who is reading your code to expect to see interpolation when they see
> double quotes, and they know that there's been a mistake when they don't.
I prefer using q{} and qq{} since they are much easier to eyeball than
' and '' :)
Alfie
More information about the Melbourne-pm
mailing list