Lingua-PT-ProperNames

 view release on metacpan or  search on metacpan

samples/ucPN  view on Meta::CPAN

#!/usr/bin/perl
use locale;
use Lingua::PT::ProperNames;

$/ = '';

while(<>){
  s/\s*\n\s*/ /g;
  print forPNstring(sub{uc($_[0])}, $_);
}



( run in 1.246 second using v1.01-cache-2.11-cpan-8dfa8b56332 )