in reply to Re^2: Unicode: Perl5 equivalent to Perl6's @string.graphemes?
in thread Unicode: Perl5 equivalent to Perl6's @string.graphemes?

What do :std and :locale together do?

The same as :std and :encoding together, just without having to specify the encoding.

Can you please explain why you used use open ':std', ':locale'

Because I don't know the encoding of the terminals in which your program will run. I don't even know that they all use the same encoding.

  • Comment on Re^3: Unicode: Perl5 equivalent to Perl6's @string.graphemes?