Date: Mon, 5 Dec 2011 11:32:45 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/textproc Makefile ports/textproc/p5-String-ToIdentifier-EN Makefile distinfo pkg-descr pkg-plist Message-ID: <201112051132.pB5BWjAT019742@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sunpoet 2011-12-05 11:32:45 UTC FreeBSD ports repository Modified files: textproc Makefile Added files: textproc/p5-String-ToIdentifier-EN Makefile distinfo pkg-descr pkg-plist Log: - 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 Revision Changes Path 1.1685 +1 -0 ports/textproc/Makefile 1.1 +38 -0 ports/textproc/p5-String-ToIdentifier-EN/Makefile (new) 1.1 +2 -0 ports/textproc/p5-String-ToIdentifier-EN/distinfo (new) 1.1 +18 -0 ports/textproc/p5-String-ToIdentifier-EN/pkg-descr (new) 1.1 +9 -0 ports/textproc/p5-String-ToIdentifier-EN/pkg-plist (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112051132.pB5BWjAT019742>