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, ...)
In reply to Re^4: On Backwards Compatibility and Bareword Filehandles
by ikegami
in thread On Backwards Compatibility and Bareword Filehandles
by jcb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |