Skip to content

Instantly share code, notes, and snippets.

@sharifulin
Created July 2, 2009 09:15
Show Gist options
  • Save sharifulin/139389 to your computer and use it in GitHub Desktop.
Save sharifulin/139389 to your computer and use it in GitHub Desktop.
Real ucfirst for string
sub ucfirst($) {
return join ' ', map { CORE::ucfirst } split / /, lc shift;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment