>>519
$file ="test.txt;
open(IN, "+<$file");
これで同じエラーが出ます。