如何在Perl中使用“my”关键字?
我在在线示例Perl脚本中的变量名前面一直看到“my”关键字,但我不知道这是什么意思。我尝试在线阅读手册页和其他网站,但我很难辨别是什么,因为我如何看到它的使用和手册之间的区别。例如,它用于获取数组在这篇文章中的长度:FindSizeofArrayinPerl但是手册说:Amydeclaresthelistedvariablestobelocaltotheenclosingblock,file,oreval.Ifmorethanonevalueislisted,thelistmustbeplacedinp