数字转换成字母:
print chr(65)."\n";
print ord(A)."\n";
结果如下:
C:\WINDOWS\system32\cmd.exe /c perl "F:\perl\d.pl"
A
65
Hit any key to close this window...
数字转换成字母:
print chr(65)."\n";
print ord(A)."\n";
C:\WINDOWS\system32\cmd.exe /c perl "F:\perl\d.pl"
A
65
Hit any key to close this window...