NetSDS::Util::Misc(3pm)

NetSDS::Util::Misc3pm

Miscelaneous utilities

Usage

        use NetSDS::Util::Misc;

Overview

"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

Parameters: numeric value

Returns: CSV formatted

format_msisdn($msisdn) - format MSISDN

Parameters: phone number

Returns: well formed MSISDN without leading +.

Examples

None

Todo

1. Add other encodings support

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10–11
  6. 12–13

Bugs

None

Authors

Valentyn Solomko <[email protected]>

Michael Bochkaryov <[email protected]>

From libnetsds-util-perl 1.045-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.