Skip Menu |

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

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

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

Bug Information
Severity: Important
Broken in: 0.09
Fixed in: (no value)



Subject: -D option requires space
It appears that either the docs are wrong, or the script is wrong for passing config options. The docs list: perlbrew install perl-5.12.1 -Duselongdouble This doesn't work for me on OSX. However, this does: perlbrew install perl-5.12.1 -D uselongdouble
Confirming this behaviour for myself. Also, side note, possibly related, if you pass -D optimize=  you need to double quote things, ie: 

-D optimise="\"-O3 --whatever\""   at the command line.

Once to cluster all the arguments into a single token for your $shell, and again so that when perlbrew passes the command to Configure it is also clustered properly. ( otherwise --whatever is seen as a parameter to Configure ) 
As of now (0.21), the -D option does not requires space anymore, and the quoting looks slightly better. perlbrew install 5.14.0 -Dcc=ccache\ gcc perlbrew install 5.14.0 '-Dcc=ccache gcc' It should looks the same as if it was passed to `sh Configure`, no double-escape required.