<?xml version="1.0" encoding="windows-1252"?>
<node id="1014758" title="how to get &quot;Subject&quot; using MIME::Parser ?" created="2013-01-22 13:28:52" updated="2013-01-22 13:28:52">
<type id="115">
perlquestion</type>
<author id="961">
Anonymous Monk</author>
<data>
<field name="doctext">
&lt;p&gt; Hiya Monks...,&lt;/p&gt; 
&lt;p&gt; I need to get the 'subject:' using the MIME::Parser. How can I get that...? &lt;/p&gt; 

&lt;p&gt; We will get the body by using $data-&gt;{BODY} &lt;/p&gt; 
&lt;p&gt; Can I do it like this, &lt;code&gt;  $data-&gt;{HEADER};&lt;/code&gt; ? to get the subject, If not pls guide me through. &lt;/p&gt; 
&lt;p&gt; Thx in advance &lt;/p&gt; </field>
<field name="reputation">
2</field>
</data>
</node>
