Apocrypha

String-PerlIdentifier

Generate a random name for a Perl variable

This module automatically exports a single subroutine, make_varname(), which returns a string composed of random characters that qualifies as the name for a Perl variable. The characters are limited to upper- and lower-case letters in the English alphabet, the numerals from 0 through 9 and the underscore character. The first character may not be a numeral. By default, make_varname() returns a string of 10 characters, but if a numerical argument between 3 and 20 is passed to it, a string of that length will be returned. Arguments smaller than 3 are rounded up to 3; arguments greater than 20 are rounded down to 20.

Available in

OverlayNewestEbuildsLast activity
defiance GitHub ↗ 0.06 1 9 mo details ›

Versions & arches

VersionOverlay amd64x86arm Committed
0.06 defiance amd64 testing x86 testing arm testing 22 mo view · download · history ↗

Use flags of 0.06

  • perl_features_debug
  • perl_features_ithreads
  • perl_features_quadmath

Runtime dependencies of 0.06

show 2 lines