私はperlが初めてです。以下のプログラムを実行しようとしました:
ファイルを開いて、ファイルから内容を読み取ろうとしています。
$FILE=open(FILE,"\\10.82.71.28\Testing501\Test_Folder\834_KMS_FACE_834A.mms");
if($FILE)
{
print "The file: $FILE has opened successfully";
}
else
{
die "There is an error while opening the file :$!\n";
}
while($record=<FILE>)
{
print $record;
}
close(FILE);
しかし、プログラムの実行中にエラーが発生しました:
ファイルを開くときにエラーが発生しました:無効な引数