in reply to Re^2: simple to describe I/O problem
in thread simple to describe I/O problem
It doesn't, "$file" was just a remnant of (too) quickly editing the OP's code. (Unless maybe $file is an object with overloaded stringification; but then it'd probably be stringified inside open...)