Syntax::Highlight::Perl is a Perl module that can highlight Perl Syntactical Structures.
SYNOPSIS
# simple procedural
use Syntax::Highlight::Perl ':BASIC'; # or ':FULL'
print format_string($my_string);
# OO
use Syntax::Highlight::Perl;
my $formatter = new Syntax::Highlight::Perl;
print $formatter->format_string($my_string);
This module provides syntax highlighting for Perl code. The design bias is roughly line-oriented and streamed (ie, processing a file line-by-line in a single pass). Provisions may be made in the future for tasks related to "back-tracking" (ie, re-doing a single line in the middle of a stream) such as speeding up state copying.
Requirements:
· Perl
What's New in This Release:
· Fixed problem with special characters not formatting inside of Here-Documents.
· Fixed bug causing hash variables to format inside of Here-Documents.
Product's homepage