<?xml version="1.0" encoding="windows-1252"?>
<node id="1004035" title="Re^3: OOP: How to construct multiple instances of a class at once" created="2012-11-15 11:18:07" updated="2012-11-15 11:18:07">
<type id="11">
note</type>
<author id="31503">
runrig</author>
<data>
<field name="doctext">
If the ids were strings, I might use &lt;code&gt;map $dbh-&gt;quote($_), @ids&lt;/code&gt;, but since they're probably integers, validating that they're &lt;code&gt;/^\d+$/&lt;/code&gt; is probably good enough. Either is also easy.</field>
<field name="root_node">
1003841</field>
<field name="parent_node">
1003923</field>
</data>
</node>
