I downloaded your code and input file, running them I get this output:
mv89psg6zh4: A bird in a sink keeps getting under the running water fr +om a faucet. A bird is bathing in a sink. A bird is splashing around +under a running faucet. A bird is bathing in a sink. A bird is standi +ng in a sink drinking water that is pouring out of the facet. A fauce +t is running while a bird stands in the sink below. A bird is playing + in a sink with running water. A bird is playing in tap water. A bird + is bathing in the sink. A bird is taking a bath.
Where are you running your code? Perl version , OS, Locale ?
% perl --version This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-th +read-multi-2level (with 2 registered patches, see perl -V for more detail) [...] % uname -a Darwin femto.local 11.0.1 Darwin Kernel Version 11.0.1: Thu Jul 28 02: +01:39 PDT 2011; root:xnu-1699.23.4~1/RELEASE_X86_64 x86_64

In reply to Re: hash of arrays by spazm
in thread hash of arrays by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.