fork download
  1. use feature qw(say);
  2. use charnames qw(:full);
  3. binmode STDOUT, ':utf8';
  4.  
  5. my $string = "\N{LATIN CAPITAL LETTER U}\N{COMBINING DIAERESIS}";
  6. say $1 while ( $string =~ /(\X)/g );
  7.  
Success #stdin #stdout 0.03s 6652KB
stdin
Standard input is empty
stdout