package MyApp; # modern Moo-based app use Moo; # run initialisation checks # set up session, parse http params # run routing code: load (legacy) module, run the code load 'ConsumingModule'; # this module uses Utility.pm ConsumingModule::run(); # render output