<?xml version="1.0" encoding="windows-1252"?>
<node id="954758" title="Re^2: On creating hash whose keys aren't case-sensitive" created="2012-02-18 10:20:20" updated="2012-02-18 10:20:20">
<type id="11">
note</type>
<author id="954280">
anazawa</author>
<data>
<field name="doctext">
Thanks for your suggestion.
Although I didn't understand why your code worked so, I confirmed your sub worked in an expected way.
I didn't consider whether to normalize users' inputs.
In my case, "be strict with your output" points out the following:

&lt;c&gt;
# Header.pm
sub set_header {
    $header_ref-&gt;{ $key } = $value;
}
&lt;/c&gt;

"(be) liberal with your input" does the following:

&lt;c&gt;
# plugins/foo
set_header( $main::header_ref, '-status' =&gt; '304 Not Modified' );
&lt;/c&gt;

Your comment meant a lot to me.</field>
<field name="root_node">
954718</field>
<field name="parent_node">
954748</field>
</data>
</node>
