Sat, 06 Jul 2019 22:09:22 -0400
Don't exec self
--- a/bin/perldoc +++ b/bin/perldoc @@ -8,4 +8,6 @@ fi if [ -x "$(command -v cpandoc)" ]; then exec cpandoc $* fi -exec perldoc $* + +BIN="$(which -a perldoc | grep -v $0 | head -n 1)" +exec $BIN $*