in reply to Re^2: Can we make hash key check in 'if' condition case insensitive?
in thread [SOLVED: Can we make hash key check in 'if' condition case insensitive?
In every case it simply output:use strict; use warnings; my $this = 'hello'; my $that = 'tata'; if(fc($this) eq fc($that)) {print "wtf\n"}
Undefined subroutine &main::fc called at try.pl line 7.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Can we make hash key check in 'if' condition case insensitive?
by ikegami (Patriarch) on Feb 09, 2018 at 05:29 UTC | |
by syphilis (Archbishop) on Feb 09, 2018 at 13:03 UTC |