<?xml version="1.0" encoding="windows-1252"?>
<node id="1003537" title="Re: Using user input to return variable typed." created="2012-11-12 21:02:10" updated="2012-11-12 21:02:10">
<type id="11">
note</type>
<author id="995274">
marquezc329</author>
<data>
<field name="doctext">
&lt;p&gt;[myelinviolin],&lt;/p&gt;

&lt;p&gt;Along with following the advice you've already been given and working through [2teez]'s example, I'd recommend taking a look at [http://perldoc.perl.org/perlintro.html#Perl-variable-types|Perlintro (Variable Types)] for information on initializing a hash/accessing its key/value pairs, etc.  [Getting Started with Perl] also covers the tools required to solve this problem.&lt;/p&gt;
&lt;p&gt;
Don't forget: Copy =&gt; Paste doesn't count as learning ;)  
&lt;/p&gt;
</field>
<field name="root_node">
1003504</field>
<field name="parent_node">
1003504</field>
</data>
</node>
