package MyProgramConfiguration ; use strict ; use warnings ; # Take this as a starting point, # *NOT* as an example, *PLEASE*!!! my %config = ( color => 'yellow', beverage => 'chinotto', food => 'pizza', driver => 'Schumacher', ) ; my gimmeconf { # I don't care how you called me (class or object method) return %config ; } #### use strict ; # don't leave it out use MyProgramConfiguration ; my %c = MyProgramConfiguration->gimmeconf() ;