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 bundle
  • carton 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