I guess you are having trouble understanding what I'm saying -- both in English and in Perl. In the last snippet that I presented above (three lines of code), the array gets filled in the second line. The array is also declared and initialized in that line, so after that line executes, you can be confident that the array contains all and only the output of the "find" command.

So, try putting the "binmode" statements above those three lines, make sure that the content of the "find" command itself is correct, add a line or a loop after my three lines, to print stuff out from the array, and see what happens. If you still have trouble after that, POST THE COMPLETE SCRIPT THAT YOU RAN, together with enough output (and error/warning messages) from running THAT EXACT VERSION of the script -- then it will be clearer to us what is going on. So far, you have been making it hard for us.


In reply to Re^5: utf8 "\xB7" does not map to Unicode at /usr/local/bin/бибс/об‰ line 112. by graff
in thread utf8 "\xB7" does not map to Unicode at /usr/local/bin/бибс/об‰ line 112. by nikolay

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.