in reply to use strict and require

Use the "no strict" pragma in a block;
use strict; { no strict; require "hash.file"; }
You may find it easier to use one of the config modules from CPAN though. Something like Config::Simple would probably work and it would make sessing configuration variable easier on those that don't understand Perl.