Package Info

perl-String-ToIdentifier-EN


Convert Strings to English Program Identifiers


Development/Libraries/Perl

This module provides a utility method, to_identifier for converting an arbitrary string into a readable representation using the ASCII subset of '\w' for use as an identifier in a computer program. The intent is to make unique identifier names from which the content of the original string can be easily inferred by a human just by reading the identifier.

If you need the full set of '\w' including Unicode, see the subclass String::ToIdentifier::EN::Unicode.

Currently, this process is one way only, and will likely remain this way.

The default is to create camelCase identifiers, or you may pass in a separator char of your choice such as '_'.

Binary char groups will be separated by '_' even in camelCase identifiers to make them easier to read, e.g.: 'foo_2_0xFF_Bar'.


License: Artistic-1.0 OR GPL-1.0-or-later
URL: http://search.cpan.org/dist/String-ToIdentifier-EN/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.12-bp156.3.1 info GA Release 2023-07-22 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-String-ToIdentifier-EN
0.12-bp155.2.8 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-String-ToIdentifier-EN
0.12-bp154.1.20 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-String-ToIdentifier-EN
0.12-bp153.1.12 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-String-ToIdentifier-EN
0.12-bp152.3.14 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-String-ToIdentifier-EN
0.12-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-String-ToIdentifier-EN
0.12-bp151.2.11 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-String-ToIdentifier-EN
0.12-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-String-ToIdentifier-EN