<?xml version="1.0" encoding="windows-1252"?>
<node id="315000" title="Re^2: On-the-fly all-languages syntax highlighting" created="2003-12-16 02:29:21" updated="2005-07-01 17:48:38">
<type id="11">
note</type>
<author id="114691">
Aristotle</author>
<data>
<field name="doctext">
&lt;p&gt;See the documentation on the [cpan://Benchmark] module that comes with Perl.&lt;/p&gt;

&lt;p&gt;Using [cpan://B] (probably with some backend such as [cpan://B::Terse], I can’t imagine you want the bare [cpan://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 [cpan://B] itself so much as because using [cpan://B] requires Perl to have compiled the code, which is inseparably connected with the possibility of having code run at compile-time.&lt;/p&gt;

&lt;div class="pmsig pmsig-114691"&gt;
&lt;p align="right"&gt;&lt;i&gt;Makeshifts last the longest.&lt;/i&gt;&lt;/p&gt;
&lt;/div&gt;</field>
<field name="root_node">
314528</field>
<field name="parent_node">
314947</field>
</data>
</node>
