Can anybody please explain me why these two one liners omit different result?
ilya@juil:~$ perl -e 'print "b" =~ /[A-C]/i ? "true\n" : "false\n"'
ilya@juil:~$ perl -Mutf8 -e 'print "b" =~ /[A-C]/i ? "true\n" : "false
I checked docs (i.e. perlunicode
) but I didn't notice anything which would explain such behavior.
Knowing that unicode support in Perl is very new and changes with each new release I guess it is worth to mention that I still use 5.6.1.
Ilya Martynov, email@example.com
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support
UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org