diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-12-05 19:32:45 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-12-05 19:32:45 +0800 |
commit | 130bb2ed0ccfa8676d46d4958601afd56bea81cc (patch) | |
tree | 334f3fc7ad13bd03ae1ccc35ca92bf49e13e87c7 /textproc/Makefile | |
parent | 5b20bc3e41b70eb48bc31309d794ccff1e17dbda (diff) | |
download | freebsd-ports-gnome-130bb2ed0ccfa8676d46d4958601afd56bea81cc.tar.gz freebsd-ports-gnome-130bb2ed0ccfa8676d46d4958601afd56bea81cc.tar.zst freebsd-ports-gnome-130bb2ed0ccfa8676d46d4958601afd56bea81cc.zip |
- Add p5-String-ToIdentifier-EN 0.06
String::ToIdentifier::EN 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.
WWW: http://search.cpan.org/dist/String-ToIdentifier-EN/
Feature safe: yes
Diffstat (limited to 'textproc/Makefile')
-rw-r--r-- | textproc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 7b54634083f9..f32791a7f09f 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -711,6 +711,7 @@ SUBDIR += p5-String-ShellQuote SUBDIR += p5-String-ShowDiff SUBDIR += p5-String-Strip + SUBDIR += p5-String-ToIdentifier-EN SUBDIR += p5-String-Tokenizer SUBDIR += p5-String-Truncate SUBDIR += p5-Syntax-Highlight-Engine-Kate |