Carton...atpack(3pm)
π Carton::Doc::Fatpack β the manual page (section 3pm) π
okay bestie, gather round, we're reading the docs for Carton::Doc::Fatpack and honestly? it's giving "one job, big warning label" energy. let's get into it π«Ά
β¨ NAME β¨
Carton::Doc::Fatpack β fatpack the carton executable into vendor/bin π
like, that's the whole thing. it squishes carton into one chunky boi and drops it in vendor/bin. iconic behavior tbh.
β¨ SYNOPSIS β¨
carton fatpack
one command. no flags. no arguments. no drama. she's lowkey minimalist π
β¨ DESCRIPTION β¨
WARNING: bestie I need you to actually read this part, fr fr. this command is known to create an executable that is not sufficient to run standalone in some environments, especially when local::lib is enabled. so likeβ¦ it might not work on its own in every setup π. it's a known thing. not a you problem.
so the recommended move instead: use the standard cpanm command to install the bundle that was created by the carton bundle command. that's the vibe. that's the path. see carton -h bundle for more details π
πΈ so what does carton fatpack actually do tho
it creates a fatpack executable of carton inside the vendor/bin directory β¨
and why do we care? because that lil executable can be used to bootstrap the deployment process β combined with:
carton bundlecarton install --cached
it's giving deployment-girlie main character energy π¦. bundle it, fatpack it, cached-install it, ship it. periodt.
π SEE ALSO β¨
carton -h bundle(for the details on the bundle situation)
and that's the whole page, bestie!! short, sweet, and full of warnings π
this beauty came to you via perl v5.34.0, dated 2022-05-12, and she lives under the name Carton...atpack(3pm) in the User Contributed Perl Documentation section ππ
mwah, go read the bundle docs before you fatpack, ily π«Άβ¨
π¦ where this page comes from
- debian bookworm: carton 1.0.35-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: carton 1.0.35-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: carton 1.0.35-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms