Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

PerlBrew (perlbrew list-modules)

by wjw (Priest)
on Apr 19, 2014 at 16:28 UTC ( #1082905=perlmeditation: print w/replies, xml ) Need Help??

has a bug(85493) noted in version 0.63 which has yet to be addressed. I spent a good 2.5 hours trying to figure out why 'perlbrew list-modules' didn't return anything. Finally found the the problem in the bug list at RT CPAN. The actual cause of the problem was pointed out Here on github.

In simple terms: the command 'list-modules' will not work if you are use'ing or have switch'ed to an alias.

You must use the full name of the Perl dist you are using as is shown in 'perlbrew list' or 'perlbrew available'. (See Update below for alternative)

Perlbrew is fantastic! (minor rant) It is a bit disappointing that this ticket has been around for 11 months without being addressed. It is not an obvious(to me) issue to find or address. My searches(both here and google) rendered very little. The docs here don't make any mention of this either.
My hope is that someone may save themselves some time finding this here when faced with this issue.


Was unsure where to post this, but based on FAQ Re: Posting this seems the best place... please correct me if not.


Found a workaround listed Stack Overflow which states that when installing a Perl via PerlBrew, one can use the '--as' install option to name the Perl install, accomplishing something like the alias command would. While it is good to know how to work around this problem, I would still rather have the 'alias' command work. I don't always know ahead of time what I might want to name a given install.

Replaced the  <br> with  <p> for readability.

...the majority is always wrong, and always the last to know about it...
Insanity: Doing the same thing over and over again and expecting different results...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://1082905]
Approved by mtmcc
Front-paged by ww
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2021-03-05 03:30 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (109 votes). Check out past polls.