Business::Shipping::Util - Miscellaneous functions


Business-Shipping documentation  | view source Contained in the Business-Shipping distribution.

Index


NAME

Top

Business::Shipping::Util - Miscellaneous functions

DESCRIPTION

Top

Misc functions.

METHODS

Top

* currency( $opt, $amount )

Formats a number for display as currency in the current locale (currently, the only locale supported is USD).

* unique( @ary )

Removes duplicates (but leaves at least one).

* looks_like_number( $scalar )

Shamelessly stolen from Scalar::Util 1.10 in order to reduce dependancies. Not part of the normal copyright.

uneval

Takes any built-in object and returns the perl representation of it as a string of text. It was copied from Interchange http://www.icdevgroup.org, written by Mike Heins <mike@perusion.com>.

AUTHOR

Top

Daniel Browning, db@kavod.com, http://www.kavod.com/

COPYRIGHT AND LICENCE

Top


Business-Shipping documentation  | view source Contained in the Business-Shipping distribution.