Skip Menu |

This queue is for tickets about the local-lib CPAN distribution.

Report information
The Basics
Id: 88065
Status: resolved
Priority: 0/
Queue: local-lib

People
Owner: Nobody in particular
Requestors: DOHERTY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 2.000003



Subject: Add support to only print environment variables (without doing any setup)
<mike> When you do `perl -Mlocal::lib=whatever`, it tries to set up the directories. But, I only want the shell environment variables. Is there a way to skip the setup step there? <mst> are you sure? certain @INC setup stuff doesn't actually work unless the directories exist IIRC <mst> if that turns out to be wrong, then I guess we could have a -nomkpath option or something <mst> (it used to be pretty necessary because of writing a .modulebuildrc) <mike> perl -E 'use local::lib; local::lib->print_environment_vars_for("whatever")' # looks correctish <mst> double check that actually works, and if you want an import option for it, I'll take a patch :)
--no-create import option added. Included in dev release 2.000_000.
Resolved in 2.000003