Michael Bochkaryov > NetSDS-Util-1.044 > NetSDS::Util::Misc

Download:
NetSDS-Util-1.044.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 1.044   Source  

NAME ^

NetSDS::Util::Misc - miscelaneous utilities

SYNOPSIS ^

        use NetSDS::Util::Misc;

DESCRIPTION ^

NetSDS::Util::Misc module contains miscelaneous functions.

EXPORTED FUNCTIONS ^

cmp_version($ver1, $ver2) - compare versions

Funcion comapres two version strings.

usage(...) - print usage text

This function is wapper to Pod::Usage module printing POD to STDERR.

get_cli(...) - get CLI parameters

Return command line arguments

make_uuid() - make UUD string

Create upper case UUID string.

csv_num($num) - format number for CSV

Paramters: numeric value

Returns: CSV formatted

format_msisdn($msisdn) - format MSISDN

Paramters: phone number

Returns: well formed MSISDN without leading +.

EXAMPLES ^

None

BUGS ^

None

TODO ^

1. Add other encodings support

SEE ALSO ^

Pod::Usage, Data::UUID

AUTHORS ^

Valentyn Solomko <pere@pere.org.ua>

Michael Bochkaryov <misha@rattler.kiev.ua>

syntax highlighting: