open(MAP, "> ucs_case.map"); print MAP <) { chop; ($name, $col) = split; @cp = (); open(UCD, "< private/UnicodeData-4.1.0.txt"); while() { chop; @entry = split(';'); last if $entry[0] =~ m/.{5,}/; if ($entry[$col] ne '') { push (@cp, $entry[0]); $map{$entry[0]} = $entry[$col]; } } close UCD; $nocp = @cp; print MAP <