The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Carmel::Preload - preloads all modules declared in cpanfile

SYNOPSIS

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

DESCRIPTION

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);