Carmel::Preload(3)

πŸ“¦
version 0.1.56 Β· 3 versions
, in fedora 43

πŸ’– Carmel::Preload πŸ’–

okay bestie, welcome to Carmel::Preload β€” it's a Perl module from the User Contributed Perl Documentation crew, and its whole personality is: preloads all modules declared in cpanfile. that's it. that's the girl. ✨


πŸ¦‹ NAME πŸ¦‹

Carmel::Preload β€” preloads all modules declared in cpanfile. no cap, that is literally the entire job description and she does it flawlessly. πŸ’…


🌸 SYNOPSIS 🌸

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

that's it. one line. main character energy fr fr. πŸŽ€


✨ DESCRIPTION ✨

okay so here's the tea πŸ“ β€” Carmel::Preload scans your cpanfile and preloads all the modules declared as "requires".

by default? it only loads the prereqs listed in the "runtime" phase. very demure, very mindful. πŸ™ˆ

but bestie, you are not locked in. you can pass in other phases β€” like "test" or "develop" β€” through its import arguments. it's giving flexible. it's giving options. like so:

use Carmel::Preload qw(test develop);

and boom πŸ’₯ now those phases get preloaded too. slay.

ngl, if you're running this without carmel exec or without use Carmel::Setup first, you're not in the right vibe β€” the SYNOPSIS is very clear that this is meant to run under carmel exec or after use Carmel::Setup. periodt. πŸ‘‘

that's the whole page, my love 🫢 β€” short, sweet, and iconic. this lil' gem comes to you from the fine folks who document things for perl v5.42.0, and this particular page was dated 2025-07-25. go forth and preload responsibly. πŸ’œπŸŒˆβ­

πŸ“¦ where this page comes from