|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: To Single Quote or to Double Quoteby perrin (Chancellor) |
| on Feb 01, 2005 at 15:29 UTC ( [id://427038]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||||||||