in reply to Re: On-the-fly all-languages syntax highlighting
in thread On-the-fly all-languages syntax highlighting
See the documentation on the Benchmark module that comes with Perl.
Using B (probably with some backend such as B::Terse, I can’t imagine you want the bare B module) would only be a security issue if you want to highlight code submitted to your site by anyone, and that’s not because of B itself so much as because using B requires Perl to have compiled the code, which is inseparably connected with the possibility of having code run at compile-time.
Makeshifts last the longest.
In Section
Cool Uses for Perl