in reply to Re^4: Devel::NYTProf: "undefined symbol: PL_stack_sp" error
in thread Devel::NYTProf: "undefined symbol: PL_stack_sp" error

It's not so much associated with a specific install location, but the version and settings of a specific build of perl.

The perl that was used to install them. (head -n 1 "$( type -p cpanm )" )

Upd: Added missing -p.

Seeking work! You can reach me at ikegami@adaelis.com

Replies are listed 'Best First'.
Re^6: Devel::NYTProf: "undefined symbol: PL_stack_sp" error
by bliako (Abbot) on Aug 28, 2021 at 05:10 UTC

    type or which?

        oh thank you. It's that in my system type cpanm's output is verbose and breaks the above command with this output: cpanm is /usr/local/bin/cpanm . and which doesn't. But this works (only if path does not contain spaces): head -n 1 "$( type cpanm | awk '{print $NF}')"

        It looks type has been buried under the weight of its success. Next step: unicode quotes and ellipses.