in reply to Re^2: 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.
One other point: now that you're pushing entries into an array, you'll probably want to use chomp -- e.g. like this:
or leave out the while loop and chomp the whole array, like this:open(my $find,"|-:utf8","find /usr/local/bin -type f") or die "find fa +iled: $!\n"; while( <$find> ){ chomp; push @array, $_; }
open( my $find, ... ) # (same as above, without redirecting to "/dev/n +ull") my @array = <$find>; # reads all lines into array chomp @array; # strips linefeeds from all array elements
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: utf8 "\xB7" does not map to Unicode at /usr/local/bin/бибс/об‰ line 112.
by nikolay (Beadle) on Nov 07, 2015 at 01:56 UTC | |
by graff (Chancellor) on Nov 07, 2015 at 03:24 UTC |