BEGIN { open $::fh, '>>', '/var/foo.log'; } use My::Module $::fh;