Enrico Sorcinelli wrote:
Hi all,

I've just packaged an old project.

Apache::Syntax::Highlight::Perl is a simple mod_perl (both 1 and 2) module that
provides syntax highlighting for Perl code. This module is a wrapper around
Syntax::Highlight::Perl.

The original module has already a pretty long name. Apache::Syntax::Highlight::Perl makes it even longer, but it's only used from httpd.conf (i.e. no need to type it too often) so I suppose that's OK.


Otherwise Apache::PerlSyntaxHighlight or Apache::SyntaxHighlightPerl is a better choice, IMHO, since it uses less namespaces. The more namespaces you have the more memory is consumed and slower the lookups of subs and package vars are, since it has to traverse more chains. Granted separately these are all minor things, but many of those together can count for a significant overhead.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to