note
Utilitarian
<strike>Two </strike> One thing<strike>s</strike> catches my eye straight away....
<ul>
<li>Where do you assign a value to $query?
<li><strike>To define %hash you need to <c>map {$hash{$_}=1}@file_data</c></strike>
</ul>
One final issue you should use strict and use warnings to catch typos and to ensure you have scoped your variables
<p>
<b>Update</b> corrected my half asleep error, too little testing of code and coffee
<p>
<!-- Node text goes above. Div tags should contain sig
only -->
<div class="pmsig"><div class="pmsig-681898">
<c>print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."</c>
</div></div>
918423
918423