Help for this page
{ local(*FH); open(FH, "<whatever") }
{ local(*FH); ... $fh = \*FH; } print $fh "Foo\n";