add cpandoc

Mon, 12 Feb 2018 12:38:32 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 12 Feb 2018 12:38:32 -0500
changeset 672
c6336b1897e9
parent 671
9008240db028
child 673
3fd7e444a689

add cpandoc

bin/perldoc file | annotate | diff | comparison | revisions
bin/setup-cpan-faves file | annotate | diff | comparison | revisions
new file mode 100755
--- /dev/null
+++ b/bin/perldoc
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -eu
+
+if [ -x "$(command -v cpandoc)" ]; then
+  exec cpandoc $*
+fi
+exec perldoc $*
--- a/bin/setup-cpan-faves
+++ b/bin/setup-cpan-faves
@@ -6,6 +6,7 @@ exec cpanm -q <<END
 Carton
 
 App::prowess
+Pod::Cpandoc
 
 Perl::Tidy
 

mercurial