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
- 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