Carton...:Check(3pm)

πŸ’– NAME πŸ’–

Carton::Doc::Check β€” bestie, this is the lil' command that checks if your cpanfile and your local environment are actually in sync. Like, are they matching? Are they giving the same energy? Let's find out πŸ’…


✨ SYNOPSIS ✨

carton check

That's it. One command. No flags, no drama, just vibes πŸ¦‹


🌸 DESCRIPTION 🌸

Okay so this command runs a consistency check between three things, and yes bestie, all three of them:

  • your cpanfile
  • your cpanfile.snapshot
  • your local environment

It's literally just a vibe check for your dependencies. Are they all on the same page? Or is one of them being messy? carton check will let you know πŸ”


πŸŽ€ MISSING MODULES πŸŽ€

So like, if one or more of the modules specified in your cpanfile are not found in your snapshot, carton check will warn you about it. Not ghosting you β€” actually telling you. Iconic behavior honestly:

$ carton check
Following dependencies are not satisfied.
  JSON has version 2.51. Needs 2.52
Run `carton install` to install them.

See? It's not gonna leave you guessing. It says what's missing, what version you got, and what version you need. So helpful, so real 🫢

And then β€” the fix? You can run carton install again to reinstall these missing dependencies. That's it. Go off, install them, slay πŸ’…βœ¨

ngl, if you see that warning and you just ignore it, that's on you bestie 😭 the command literally told you what to do.

πŸ’– that's the whole page, you're done, go touch grass πŸ’–

This little doc came to you courtesy of the User Contributed Perl Documentation crew, running on perl v5.34.0, dated 2022-05-12 β€” so yes, it's a lil vintage, but it still ate. no cap. πŸŽ€

πŸ“¦ where this page comes from