Pistachio - turns source code into stylish HTML
use Pistachio; # List supported languages and styles print Pistachio::supported; # Get a Pistachio::Html object my $handler = Pistachio::html_handler('Perl5', 'Github'); # Perl source code text (in typical usage, read from a file) my $perl = join "\n", 'use strict;', 'package Foo::Bar', '...'; # Github-like CSS-styled HTML snippet. my $snip = $handler->snippet(\$perl);
Joel Dalley <firstname.lastname@example.org>
This software is copyright (c) 2013 by Joel Dalley.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.