我正在尝试以字母顺序
#!/usr/bin/perl
use strict;
use warnings;
my @array = ("abc","def","PQR","STW");
@array = sort @array;
foreach (@array){
print "$_ \n";
}
输出:
PQR
STW
abc
def
答案 0 :(得分:2)
您需要不区分大小写的排序,通过明确指定排序标准
来完成Injector
或更好
if(Build.VERSION.SDK_INT >= 21) {
//... your code with Window class here
}
答案 1 :(得分:1)
您可以通过转换为大写的小写来设置排序条件。
try
{
isolatedStore.DeleteFile(filePath);
}
catch (IsolatedStorageException ex)
{
// Handle the exception however you want...
}