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

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.

Replies are listed 'Best First'.
Re^9: Devel::NYTProf: "undefined symbol: PL_stack_sp" error
by eyepopslikeamosquito (Archbishop) on Aug 31, 2021 at 07:41 UTC

    It looks type has been buried under the weight of its success

    Ha ha! It's been twenty years since I looked at this in any detail, just kept on happily using the good ol' bald type command. I was surprised just now (and not in a good way) to learn of many more ways to do it:

    I don't think this is an impressive application of TMTOWTDI. :)

Re^9: Devel::NYTProf: "undefined symbol: PL_stack_sp" error
by ikegami (Patriarch) on Aug 30, 2021 at 22:39 UTC

    Sorry, I meant type -p perl. Been a while.

    Anyway, I asked for the perl used to installed the module, and you haven't provided. (Oops, forgot the leading "What", but you seem to understand it was a request)

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