My approach to this would be to take one of the better Perl code highlighters that output HTML, and import that HTML into the Word document, best by automating Word via Win32::OLE instead of a manual process, to keep the document and the code in sync. You could also try whether master documents (or central documents) work with file types different from .doc...
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The
$d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider
($c = $d->accept())->get_request(); $c->send_response( new #in the
HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web
| [reply] [d/l] |
| [reply] |
Not straight to Word, but you can use vim to output html. A quick Super Search revealed this node.
Update: or here, here, or here.
cp
----
"Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic."
| [reply] |
| [reply] |
| [reply] |