Rechercher une page de manuel
HCT::Util.3pm
Langue: en
Version: 2009-08-08 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
HCT::Util - Generic utility functions for HCT.DESCRIPTION
This package contains various utility functions which do not belong anywhere else.FUNCTIONS
This package provides several types of routines:Strings
- reduce_string (STRING [, REQUIRED_LENGTH, [, REPLACEMENT]])
- Reduces string from the center and substitutes this place. REQUIRED_LENGTH means, what length should have incoming string after substitution. By default the replacement part equal to '~'.
print reduce_string ('operator_precedence_sub', 11); # the result: opera~e_sub
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre