No such thing as a small change | |
PerlMonks |
Re: To Single Quote or to Double Quoteby perrin (Chancellor) |
on Feb 01, 2005 at 20:29 UTC ( [id://427038]=note: print w/replies, xml ) | Need Help?? |
This is a case of "say what you mean." If you mean "here is a literal string", use single quotes. If you mean "here is a string with some stuff I want you to interpolate", use double quotes. The performance difference is not enough to care about, but you should use the right one for clarity.
In Section
Seekers of Perl Wisdom
|
|