String:...:Unicode(3)

πŸ’– String::ToIdentifier::EN::Unicode(3) β€” the perl one πŸ’–

okay bestie, welcome to the String::ToIdentifier::EN::Unicode page from the User Contributed Perl Documentation section. yes the header is hiding up there being all formal, we're moving on πŸ’…


✨ NAME ✨

String::ToIdentifier::EN::Unicode β€” literally converts strings into Unicode English program identifiers πŸ¦‹ no cap, that's the whole gig.


🌸 SYNOPSIS 🌸

so here's the vibe in code, copy it exactly bestie:

use utf8;
use String::ToIdentifier::EN::Unicode 'to_identifier';

to_identifier 'fooδΊ°barβˆ‘'; # fooδΊ°BarNDashArySummation

look at that example output 🫢 fooδΊ°BarNDashArySummation β€” iconic.


πŸ‘‘ DESCRIPTION πŸ‘‘

okay so this module is a subclass of String::ToIdentifier::EN. if you want the deets, go read that module, it's got the details fr fr.

but here's the one thing that makes this one special: unlike String::ToIdentifier::EN, this module will NOT convert the Unicode subset of \w into ASCII ✨ that's the difference, that's the whole personality.


πŸŽ€ EXPORT πŸŽ€

optionally exports the to_identifier function. use it if you want it, ignore it if you don't, we don't gatekeep πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

go give these a look, they're the friend group:

  • String::ToIdentifier::EN
  • Text::Unidecode
  • Lingua::EN::Inflect::Phrase

πŸ’œ AUTHOR πŸ’œ

Rafael Kitover, "<rkitover@cpan.org>" β€” king behavior honestly πŸ‘‘


πŸ’€ BUGS πŸ’€

found a bug or got a feature request? please report it to "bug-string-toidentifier-en at rt.cpan.org", or slide through the web interface at:

<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=String-ToIdentifier-EN>

he gets notified, and then you'll automatically get notified of progress on your bug as he makes changes. teamwork, we love to see it 🫢


🧚 REPOSITORY 🧚

<http://github.com/rkitover/string-toidentifier-en>

go star it, go lurk, go read the code, whatever your heart says πŸ“


🌈 SUPPORT 🌈

more info on this module is available at these fine places:

  • RT: CPAN's request tracker (report bugs here)
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=String-ToIdentifier-EN>
  • AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/String-ToIdentifier-EN>
  • CPAN Ratings
<http://cpanratings.perl.org/d/String-ToIdentifier-EN>
  • MetaCPAN
<https://metacpan.org/module/String::ToIdentifier::EN>
  • Search CPAN
<http://search.cpan.org/dist/String-ToIdentifier-EN/>

Copyright (c) 2011 Rafael Kitover <rkitover@cpan.org>.

bestie, this program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License πŸ’–

see http://dev.perl.org/licenses/ for more information.


and that's the page 🌸 sign-off time: this was perl v5.42.0, dated 2018-02-27, for String:...:Unicode(3). mwah, go write some identifiers that keep their Unicode, ily, bye πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from