bin/perldoc

changeset 743
76c4c96d8b9f
parent 672
c6336b1897e9
child 774
d6a54f86ab10
equal deleted inserted replaced
742:354f9d473a4b 743:76c4c96d8b9f
1 #!/bin/sh 1 #!/bin/sh
2 set -eu 2 set -eu
3
4 if [ -t 1 ]; then
5 export PERLDOC="-oterm ${PERLDOC:-}"
6 fi
3 7
4 if [ -x "$(command -v cpandoc)" ]; then 8 if [ -x "$(command -v cpandoc)" ]; then
5 exec cpandoc $* 9 exec cpandoc $*
6 fi 10 fi
7 exec perldoc $* 11 exec perldoc $*

mercurial