Business::UPS::Tracking::Utils - Utility functions
use Business::UPS::Tracking::Utils;
This module provides some basic utility functions for Business::UPS::Tracking and defines some Moose type constraints and coercions.
$datetime = parse_date($string);
Parses a date string (YYYYMMDD) and returns a DateTime object.
$datetime = parse_time($string,$datetime);
Parses a time string (HHMMSS) and appends the parsed values to the given DateTime object
my $escaped_string = escape_xml($string);
Escapes a string for xml
To install Business::UPS::Tracking, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::UPS::Tracking
CPAN shell
perl -MCPAN -e shell install Business::UPS::Tracking
For more information on module installation, please visit the detailed CPAN module installation guide.