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 $* |