Spidy has asked for the wisdom of the Perl Monks concerning the following question:
Recently, I've been doing a lot of work in languages other than Perl. Most of them don't care whether I use single or double quotes. I know that Perl will interpolate variables inside double quoted statements, and won't inside single quoted statements. However, I heard a rumor(I can't remember where) that using double quoted statements when there isn't a variable inside will slow down my Perl script. Does anyone know if this is true?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Single Quotes Versus Double Quotes
by ikegami (Patriarch) on Oct 12, 2006 at 16:15 UTC | |
|
Re: Single Quotes Versus Double Quotes
by davorg (Chancellor) on Oct 12, 2006 at 16:16 UTC | |
by Anonymous Monk on Oct 13, 2006 at 10:36 UTC | |
by davorg (Chancellor) on Oct 13, 2006 at 11:02 UTC | |
|
Re: Single Quotes Versus Double Quotes
by kwaping (Priest) on Oct 12, 2006 at 16:15 UTC | |
by ikegami (Patriarch) on Oct 12, 2006 at 16:19 UTC | |
|
Re: Single Quotes Versus Double Quotes
by grep (Monsignor) on Oct 12, 2006 at 16:22 UTC | |
by ikegami (Patriarch) on Oct 12, 2006 at 16:43 UTC | |
|
Re: Single Quotes Versus Double Quotes
by Melly (Chaplain) on Oct 12, 2006 at 16:17 UTC |