PAB3::UtilsPAB3::Utils contains utility functions for the PAB3 environment or as standalone. | |
Download |
PAB3::Utils Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Christian Mueller
- Publisher web site:
- http://search.cpan.org/~chrmue/PAB3-3.1.5/xs/PAB3/Crypt/XOR/XOR.pm
PAB3::Utils Tags
PAB3::Utils Description
PAB3::Utils contains utility functions for the PAB3 environment or as standalone. PAB3::Utils contains utility functions for the PAB3 environment or as standalone.SYNOPSIS use PAB3::Utils qw(:default); # all functions should be thread safe and does NOT affect # to CORE::localtime or POSIX locale and time functions # create an object of PAB3::Utils $utils = PAB3::Utils->new(); $locale = set_locale( @locale ); set_user_locale( $hash_ref ); $bool = set_timezone( $timezone ); @ta = PAB3::Utils::localtime(); @ta = PAB3::Utils::gmtime(); # almost POSIX compatible $string = strftime( $format ); $string = strftime( $format, $timestamp ); $string = strftime( $format, $timestamp, $gmt ); # almost POSIX compatible $string = strfmon( $format, $number ); $string = number_format( $number ); $string = number_format( $number, $right_prec ); $string = number_format( $number, $right_prec, $dec_point ); $string = number_format( $number, $right_prec, $dec_point, $thou_sep ); $string = number_format( $number, $right_prec, $dec_point, $thou_sep, $neg_sign ); $string = number_format( $number, $right_prec, $dec_point, $thou_sep, $neg_sign, $pos_sign ); $string = number_format( $number, $right_prec, $dec_point, $thou_sep, $neg_sign, $pos_sign, $left_prec ); $string = number_format( $number, $right_prec, $dec_point, $thou_sep, $neg_sign, $pos_sign, $left_prec, $fillchar ); $newstr = str_trim( $string ); $string = round( $number ); $string = round( $number, $precision ); Requirements: · Perl
PAB3::Utils Related Software