in reply to Re^3: On Backwards Compatibility and Bareword Filehandles
in thread On Backwards Compatibility and Bareword Filehandles

Or if barewords can no longer be used as a file handles, you could pre-declare them using

use Symbol qw( gensym ); sub FOO { state $fh = gensym(); $fh } open(FOO, ...)