Apache-Syntax-Highlight-Perl
view release on metacpan or search on metacpan
lib/Apache/Syntax/Highlight/Perl.pm view on Meta::CPAN
L<Syntax::Highlight::Perl|Syntax::Highlight::Perl> currently recognizes.
For each style there is a correspondant syntactical element. The elements are:
=over 4
=item Comment_Normal
Default is C<{color:#006699;font-style:italic;}>
=item Comment_POD
Default is C<{color:#001144;font-family:garamond,serif;font-size:11pt;font-style:italic;}>
=item Directive
Default is C<{color:#339999;font-style:italic;}>
=item Label
Default is C<{color:#993399;font-style:italic;}>
=item Quote
Default is C<{color:#0000aa;}>
=item String
Default is C<{color:#0000aa;}>
=item Subroutine
Default is C<{color:#998800;}>
=item Variable_Scalar
Default is C<{color:#008800;}>
=item Variable_Array
Default is C<{color:#ff7700;}>
=item Variable_Hash
Default is C<{color:#8800ff;}>
=item Variable_Typeglob
Default is C<{color:#ff0033;}>
=item Whitespace
Not yet used
=item Character
Default is C<{color:#880000;}>
=item Keyword
Default is C<{color:#000000; font-weight:bold;}>
=item Builtin_Function
Default is C<{color:#000000; font-weight:bold;}>
=item Builtin_Operator
Default is C<{color:#000000; font-weight:bold;}>
=item Operator
Default is C<{color:#000000;}>
=item Bareword
Default is C<{color:#33AA33;}>
=item Package
Default is C<{color:#990000;}>
=item Number
Default is C<{color:#ff00ff;}>
=item Symbol
Default is C<{color:#000000;}>
=item CodeTerm
Default is C<{color:#AA0000;}>
=item DATA
Default is C<{color:#CCCCCC;}>
=item LineNumber
This style hasn't a correspondant syntactical element but is used to display
line numbers to the right of the code. Default is C<{color:#CCCCCC;}>
=back
See C<FORMAT TYPES> section of
L<Syntax::Highlight::Perl|Syntax::Highlight::Perl> POD for more informations
about elements currently recognized.
=item C<HighlightShowLineNumbers> On|Off
This single directive displays line numbers to the right of the text
PerlSetVar HighlightShowLineNumbers On
It can be placed in server config, <VirtualHost>, <Directory>, <Location>,
<Files> and F<.htaccess> context. The default value is C<Off>.
=item C<HighlightCache> On|Off
This directive enables a very simple cache layer of already and unchanged
highlighted files:
PerlSetVar HighlightCache On
Default is C<Off>.
=item C<HighlightCacheDir> string
( run in 0.869 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )