note
japhy
This assumes <tt>%fileHash</tt> is empty beforehand, and that you meant to escape that <tt>.</tt> in the regex...
<code>
%fileHash = map {
/^(\w\w\w\d*):log\.$date$/ ? ($1, $_) : ()
} readdir DIR;
</code>
<p>
<font color="#ff0000">_____________________________________________________</font><br>
Jeff<tt>[<font color="#0000ff"><A HREF="/index.pl?node=japhy&lastnode_id=1072">japhy</A></font>]</tt>Pinyan:
<a href="http://www.pobox.com/~japhy/modules/">Perl</a>,
<a href="http://www.pobox.com/~japhy/docs/book.html">regex</a>,
and <a href="http://lists.perl.org/showlist.cgi?name=perl5-porters"><i>perl</i></a>
<a href="http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?query=hacker">hacker</a>.
<br>
<tt>s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;</tt>
119153
119153