Carton...:Bundle(3pm)

πŸ’– Carton::Doc::Bundle β€” the whole vibe πŸ’–

okay so bestie, this is the manual page for Carton::Doc::Bundle (perl 3pm section, yk), and it's literally all about one thing: making your cached tarballs cute, portable, and ready to travel. no cap.


✨ NAME ✨

Carton::Doc::Bundle β€” bundle cached tarballs in vendor/cache πŸŽ€

like... it's giving "pack your bags, we're moving the whole dependency closet." 🧳


🌸 SYNOPSIS 🌸

carton bundle

one command. that's it. that's the whole thing. slay. πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

so here's the tea, bestie πŸ“ β€” this command bundles cached tarballs into the vendor/cache directory.

and where did those tarballs come from, you ask? they got cached in local/cache while dependencies were being resolved in the snapshot file file.snapshot. (iykyk β€” that's the lockfile-ish situation.) ✨

now, why is this iconic? because bundled modules can be:

  • committed to a version control system πŸ‘‘ (yes, fr fr, into git, go off)
  • or transferred to another host with scp/rsync etc. πŸ¦‹

...so you can install them with either carton install --cached, or a plain cpanm command with:

cpanm --from file://$PWD/vendor/cache -L local --installdeps .

no network needed, no drama, just vibes. 🌈


and that's the whole page, bestie β€” every flag, every path, every command, untouched, exactly as the original served it. 🫢

this was Carton::Doc::Bundle, from perl v5.34.0, dated 2022-05-12, and documented in the User Contributed Perl Documentation. thanks for coming to my ted talk, mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from