I will answer by example.
open( $vrm, "|-:utf8", "/usr/bin/find $put -$tip $kriteriy" ) or die " +Can't run find: $!\n"; while( <$vrm> ){ push @svitok, $_; } print "ZNAK\n"; print "\n>$svitok[0]<\n"; exit;
Gives me this:
ZNAK Use of uninitialized value $svitok[0] in concatenation (.) or string a +t /usr/local/src/исп/бибс/об‰ line 122. ./svitok1 ./svitok2 ./svitok3 ><
So:
1. >/dev/null only outputs not to terminal -- array remains the same -- and i want to output nothing to terminal.
2. Array is not filled.
3. Strange, but ZNAK mark is outputted *before* output of find though in the code it stands (executed) *after* find. Why?
I think of qx operator -- is there a way that PERL will continue the operator execution -- regardless the encodings present in its output?
Thank you for participation very much!
In reply to Re^4: utf8 "\xB7" does not map to Unicode at /usr/local/bin/бибс/об‰ line 112.
by nikolay
in thread utf8 "\xB7" does not map to Unicode at /usr/local/bin/бибс/об‰ line 112.
by nikolay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |