in reply to Re^4: 'use' inside or outside of package declaration?
in thread 'use' inside or outside of package declaration?

Yes, sorry, I wrote NFC but described NFD. I’ll fix it. However, your example of something that doesn’t work, does. Watch:
% uniquote -v t echo foo > \N{LATIN SMALL LETTER A WITH ACUTE} cat \N{LATIN SMALL LETTER A WITH ACUTE} % sh /tmp/t foo % ls a? | uniquote -v a\N{COMBINING ACUTE ACCENT}
It has to work that way, because the same NFC conversion takes place for all filenames passed to open. But I do know what you mean. It depends on the syscall. Apparently stat doesn’t do that, since there you have to do it yourself:
% perl -le 'print -e "\xE1" ? "Yes" : "No"' No % perl -MUnicode::Normalize -le 'print -e NFC("\xE1") ? "Yes" : "No"' Yes


I see my stalker is back. Yawn!

Replies are listed 'Best First'.
Re^6: 'use' inside or outside of package declaration?
by choroba (Cardinal) on May 12, 2011 at 12:53 UTC
    OK, I don't have any HFS handy. Maybe it was touch and ls, which would be in accord with what you show about stat.