NAME

Business::Shipping::Util - Miscellaneous functions

DESCRIPTION

Misc functions.

METHODS

* 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

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

COPYRIGHT AND LICENCE

Copyright 2003-2011 Daniel Browning <db@kavod.com>. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. See LICENSE for more info.