<?xml version="1.0" encoding="windows-1252"?>
<node id="659922" title="Re^3: how to add a PPI:Statement to a document?" created="2008-01-02 02:28:42" updated="2008-01-01 21:28:42">
<type id="11">
note</type>
<author id="961">
Anonymous Monk</author>
<data>
<field name="doctext">
In fact, you also should just throw away the other document immediately.

&lt;code&gt;
$lastVar-&gt;insert_after( PPI::Document-&gt;new('print "Hello World!\n")-&gt;find_first('Statement') );
&lt;/code&gt;</field>
<field name="root_node">
659394</field>
<field name="parent_node">
659918</field>
<field name="reputation">
1</field>
</data>
</node>
