| Store | Cart

Re: Suggestion: case-insensitive string comparison

From: Karen Etheridge <kar...@froods.org>
Fri, 30 Jan 2015 22:19:18 -0800
On Thu, Jan 29, 2015 at 6:19 AM, Leon Timmermans <faw...@gmail.com> wrote:

> I think adding a whole new family of keywords for what is essentially a> variation of what we already have is a bad idea, we're not PHP.>> That said, I think it is perfectly sensible for the optimizer to optimize> «fc $x eq fc$y» into some kind of internal «$x feq $y» We can actually get> the semantic advantages of this without introducing any new syntax.>

"we're not PHP" made me ask "what would be perlish, then?"

{
    use caseinsensitive;
    $same = $x eq $y;
}

no? :)

Recent Messages in this Thread
Ed Avis Jan 29, 2015 12:56 pm
Leon Timmermans Jan 29, 2015 02:19 pm
Ed Avis Jan 29, 2015 02:26 pm
Leon Timmermans Jan 29, 2015 03:35 pm
Paul Johnson Jan 29, 2015 06:39 pm
Paul \LeoNerd\ Evans Jan 29, 2015 07:04 pm
Ed Avis Jan 29, 2015 08:35 pm
David Nicol Feb 03, 2015 11:45 pm
Paul \LeoNerd\ Evans Jan 29, 2015 03:52 pm
Karen Etheridge Jan 31, 2015 06:19 am
Kent Fredric Jan 31, 2015 11:30 am
Aristotle Pagaltzis Feb 03, 2015 07:37 am
Ed Avis Feb 03, 2015 04:12 pm
Ricardo Signes Feb 03, 2015 04:24 pm
Ed Avis Feb 03, 2015 04:29 pm
David Golden Feb 05, 2015 03:50 pm
Messages in this thread