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

Thank you, so i will do, but i have to fill array first.
  • Comment on Re^4: utf8 "\xB7" does not map to Unicode at /usr/local/bin/бибс/об‰ line 112.

Replies are listed 'Best First'.
Re^5: utf8 "\xB7" does not map to Unicode at /usr/local/bin/бибс/об‰ line 112.
by graff (Chancellor) on Nov 07, 2015 at 03:24 UTC
    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.