<?xml version="1.0" encoding="windows-1252"?>
<node id="302104" title="Re: Re: Re: in memory files in 5.6.1" created="2003-10-25 16:33:31" updated="2005-07-03 18:58:58">
<type id="11">
note</type>
<author id="237681">
hanenkamp</author>
<data>
<field name="doctext">
&lt;p&gt;Not true, this should work:&lt;/p&gt;

&lt;code&gt;
use IO::Scalar;
my $fh = IO::Scalar-&gt;new;
print $fh "foo\n";  # Rather than $fh-&gt;print ...

# or, if you prefer
select $fh;
print "bar\n";
&lt;/code&gt;

&lt;p&gt;This works through the magic of a tied file handle. See [perldoc://perltie] for details on tying a file handle.&lt;/p&gt;</field>
<field name="root_node">
302088</field>
<field name="parent_node">
302102</field>
</data>
</node>
