I would make a .pm file let say Config.pm, store my config in form of Data Structure let say $CONFIG and export this var to other modules.
use vars qw/ @EXPORT/;
@EXPORT = qw/$CONFIG/;
do something with $CONFIG now.
Re: My preferred way of handling config data in Perl is: