Skip to content

Conversation

robrwo
Copy link

@robrwo robrwo commented May 22, 2025

No description provided.

@@ -38,6 +39,11 @@
# and Module::Build::Tiny generated files
\b_build_params$

^local/ # Carton local library
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm slightly confused what a carton local library would be doing in a CPAN dist.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of cpan dists have a cpanfile, so a developer or contributor can use carton to install dist-specific prereqs in the local lib, work on that distribution without polluting their global Perl.

It also helps for things like temporarily installing a different version of a prereq, or adding/removing an optional prereq etc.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Come to think of it, the cpanfile.snapshot should probably be excluded too.)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Not a workflow I'd use, but it makes enough sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants