I am trying to install perl with -DDEBUG_LEAKING_SCALARS
-DDEBUG_LEAKING_SCALARS
perlbrew install perl-5.24.1 -DDEBUGGING -DDEBUG_LEAKING_SCALARS --as perl-debug-5.24.1
The doc has error. To compile perl with this option on you should use next command:
perlbrew install perl-5.24.1 -DDEBUGGING -Accflags=-DDEBUG_LEAKING_SCALARS -j9 --as perl-debug-5.24.1
I have found this info from this commit
UPD DOC was fixed at commit #b49862865 by David Mitchell. Thanks