perl5ever has asked for the wisdom of the Perl Monks concerning the following question:
any less efficient than this?my $check = ($y eq $z);
I'd like to know if perl is able to avoid creating a one-element list which it will just immediately throw away after assigning $check to its first element.my $check = $y eq $z;
Thanks...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Are these grouping parens or list creation parens?
by ikegami (Patriarch) on Oct 01, 2009 at 20:44 UTC | |
by perl5ever (Pilgrim) on Oct 02, 2009 at 16:09 UTC | |
|
Re: Are these grouping parens or list creation parens?
by Corion (Patriarch) on Oct 01, 2009 at 19:42 UTC | |
|
Re: Are these grouping parens or list creation parens?
by BrowserUk (Patriarch) on Oct 01, 2009 at 19:47 UTC |