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 reply to Re^2: On-the-fly all-languages syntax highlighting
by Aristotle
in thread On-the-fly all-languages syntax highlighting
by gmax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |