I already had a ~/perl5/perlbrew/ directory in place for unrelated reasons, but it did not contain the dists/ subdirectory. Attempting a new install in this situation makes curl fail with error code 23 (harder to debug because of the --silent option). Manually testing the command that it printed but without --silent soon leads to discovering the problem. A simple
The directory ~/perl5/perlbrew/dists is supposed to be made by running perlbrew init.... although I guess it would not hurt to let perlbrew to automatically create it right before it is needed.
I already had a
~/perl5/perlbrew/
directory in place for unrelated reasons, but it did not contain thedists/
subdirectory. Attempting a new install in this situation makescurl
fail with error code 23 (harder to debug because of the--silent
option). Manually testing the command that it printed but without--silent
soon leads to discovering the problem. A simplesolved the problem.