You're probably way above my head here, but when using STDIN->can("getc") it does not wait for user input, which is what I am doing with my construct.
Also, attempting to use "<:utf8" instead of "r" gives IO::Handle: bad open mode... error.
I also tried moving binmode(STDIN, ':utf8') call to after opening the filehandle as recommended here: https://perldoc.perl.org/perlfunc.html#binmode-FILEHANDLE%2c-LAYER -- but that did not help.
In reply to Re^5: Match full utf-8 characters
by Allasso
in thread Match full utf-8 characters
by Allasso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |