Business::UPS::Tracking::Role::Builder - Helper role
This role provides methods that construct various objects (eg. Business::UPS::Tracking::Element::Address).
my $address = $self->build_address($xpath_expression);
Turns an address xml node into a Business::UPS::Tracking::Element::Address object.
my $address = $self->build_code($xpath_expression);
my $weight = $self->build_weight($xpath_expression);
Turns an weight xml node into a Business::UPS::Tracking::Element::Weight object.
my $weight = $self->build_referencenumber($xpath_expression);
Turns an weight xml node into a Business::UPS::Tracking::Element::ReferenceNumber object.
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.