package String::ToIdentifier::EN::Unicode; our $AUTHORITY = 'cpan:AVAR'; $String::ToIdentifier::EN::Unicode::VERSION = '0.12'; use strict; use warnings; use base 'String::ToIdentifier::EN'; use Exporter 'import'; =encoding UTF-8 =head1 NAME String::ToIdentifier::EN::Unicode - Convert Strings to Unicode English Program Identifiers =head1 SYNOPSIS use utf8; use String::ToIdentifier::EN::Unicode 'to_identifier'; to_identifier 'foo亰bar∑'; # foo亰BarNDashArySummation =head1 DESCRIPTION This module is a subclass L, see that module for details. Unlike L, this module will not convert the Unicode subset of C<\w> into ASCII. =head1 EXPORT Optionally exports the L function. =cut our @EXPORT_OK = qw/to_identifier/; sub to_identifier { return __PACKAGE__->string_to_identifier(@_); } sub _non_identifier_char { return qr/\W/; } =head1 SEE ALSO L, L, L =head1 AUTHOR Rafael Kitover, C<< >> =head1 BUGS Please report any bugs or feature requests to C, or through the web interface at L. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. =head1 REPOSITORY L =head1 SUPPORT More information on this module is available at: =over 4 =item * RT: CPAN's request tracker (report bugs here) L =item * AnnoCPAN: Annotated CPAN documentation L =item * CPAN Ratings L =item * MetaCPAN L =item * Search CPAN L =back =head1 LICENSE AND COPYRIGHT Copyright (c) 2011 Rafael Kitover . 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. =cut 1; # End of String::ToIdentifier::EN::Unicode