Skip Menu |

This queue is for tickets about the App-perlbrew CPAN distribution.

Report information
The Basics
Id: 59086
Status: resolved
Priority: 0/
Queue: App-perlbrew

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Inconsistent output in $(perlbrew installed)
In App::perlbrew::run_command_installed() you only check for -x, which also returns "Any directory that contains a subdirectory named perl" for ( grep { -x $_ && !-l $_ } map { "$_/perl" } split(":", $ENV{PATH}) ) { should become for ( grep { -f $_ && -x $_ } map { "$_/perl" } split(":", $ENV{PATH}) ) { Also the current logic does nothing to exclude ~/perl5/perlbrew/perls/current/bin/perl which is *always* in PATH by virtue of the perlbrew script sourcing
I believe what's addressed here is gone after perlbrew has been improved for over an year.