text.hi.pl - automatic vim syntax highlighting for any .hi autosite queries
Autosite sgc generator. Handler to render text to colored vim syntax.
Looks for handler_text.hi.html file in AUTOSITE_TMPL. If not present, uses default.
This handler acceps a path to any text file (-T heuristic perl guess) and will vim syntax color it to html output.
The router is already configured to route any text.hi queries to this handler. For example
http://domain.com/file.pod.hi
Would cause the router to look for this script named as pod.hi.pl and then as text.hi.pl Which would cause the necessary conversion. To get rid of this functionality, simply delete this script from the directory where the router resides.
For glossary, concepts, and breakdown, please read the WWW::Autosite::Manual.
Leo Charre
To install WWW::Autosite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Autosite
CPAN shell
perl -MCPAN -e shell install WWW::Autosite
For more information on module installation, please visit the detailed CPAN module installation guide.