|Don't ask to ask, just ask|
PerlBrew (perlbrew list-modules)by wjw (Priest)
|on Apr 19, 2014 at 16:28 UTC||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)
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...