Carmel::Preload - preloads all modules declared in cpanfile


  # program running under carmel exec, or after use Carmel::Setup
  use Carmel::Preload;


Carmel::Preload scans your cpanfile and preloads all the modules declared as requires. By default, only the prereqs listed in runtime phase will be loaded, but you can pass in other phases such as test or develop via its import arguments, i.e.

  use Carmel::Preload qw(test develop);