当我运行下面的代码时,它没有进入“在此处执行某些操作”部分:
有没有其他方法可以使用Perl比较Unicode字符串?
my $a ='µ╫P[┐╬♣3▀═<+·1╪מ└╖"ª';
my $b ='µ╫P[┐╬♣3▀═<+·1╪מ└╖"ª';
if ($a ne $b) {
# do something here
}
有没有其他方法可以使用Perl比较Unicode字符串?
eq
,ne
,gt
,lt
,ge
和le
)无法提供的功能? - user554546