bigup401 has asked for the wisdom of the Perl Monks concerning the following question:
How can i Compare multiple strings in faster way
$name = "john"; $t1 = "john"; $t2 = "john"; if ($name ne $t1 || $t2) { do something }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Comparing multiple strings
by Eily (Monsignor) on Jan 15, 2019 at 16:50 UTC | |
|
Re: Comparing multiple strings
by tobyink (Canon) on Jan 15, 2019 at 16:41 UTC | |
by bigup401 (Pilgrim) on Jan 15, 2019 at 22:17 UTC | |
by pryrt (Abbot) on Jan 15, 2019 at 22:35 UTC | |
by pryrt (Abbot) on Jan 15, 2019 at 22:42 UTC | |
by hippo (Archbishop) on Jan 15, 2019 at 22:36 UTC | |
by bigup401 (Pilgrim) on Jan 15, 2019 at 19:09 UTC | |
|
Re: Comparing multiple strings
by LanX (Saint) on Jan 15, 2019 at 17:09 UTC | |
|
Re: Comparing multiple strings
by rsFalse (Chaplain) on Jan 16, 2019 at 11:17 UTC | |
by AnomalousMonk (Archbishop) on Jan 16, 2019 at 22:11 UTC |