OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

p5-String-ToIdentifier-EN-0.12p0

convert strings to english program identifiers

Back to search · Project homepage

Description

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".

Package information

Ports path
textproc/p5-String-ToIdentifier-EN
Package architecture
*
Maintainer
Andrew Hewus Fresh <afresh1@openbsd.org>
Categories
textproc, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Test

Used by (2 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON