<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kyle Brandt &#187; XML</title>
	<atom:link href="http://www.kbrandt.com/tag/xml/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kbrandt.com</link>
	<description>Original computing and productivity articles by a Linux administrator</description>
	<lastBuildDate>Tue, 06 Jul 2010 01:04:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Track UPS Packages with Perl &#8211; WebService::UPS</title>
		<link>http://www.kbrandt.com/2009/03/track-ups-packages-with-perl-webserviceups.html</link>
		<comments>http://www.kbrandt.com/2009/03/track-ups-packages-with-perl-webserviceups.html#comments</comments>
		<pubDate>Thu, 26 Mar 2009 19:59:37 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[UPS]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.kbrandt.com/?p=236</guid>
		<description><![CDATA[The Module:
I have made a Perl object oriented module for tracking UPS shipments.   To use this module you will need to get a developer key for the UPS online tools here.  This module makes a XML request to the online tools, and then parses the response using XML::Simple.  The module has [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The Module:</strong><br />
I have made a Perl object oriented module for tracking UPS shipments.   To use this module you will need to get a developer key for the UPS online tools <a href="http://www.ups.com/e_comm_access/gettools_index?loc=en_US" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.ups.com/e_comm_access/gettools_index?loc=en_US');">here</a>.  This module makes a XML request to the online tools, and then parses the response using XML::Simple.  The module has methods to get specific information such as recent activity.  You can read the full module documentation as well as download the module at CPAN&#8217;s site <a href="http://search.cpan.org/~kbrandt/WebService-UPS-0.11/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://search.cpan.org/~kbrandt/WebService-UPS-0.11/');">here</a>.</p>
<p><strong>Example:</strong></p>
<pre class="brush: perl">
    my $Package = WebService::UPS::TrackRequest-&gt;new;
    $Package-&gt;Username(&#039;kbrandt&#039;);
    $Package-&gt;Password(&#039;topsecrent&#039;);
    $Package-&gt;License(&#039;8C3D7EE8FZZZZZ4&#039;);
    $Package-&gt;TrackingNumber(&#039;1ZA45Y5111111111&#039;);
    print $Package-&gt;Username();
    my $trackedPackage = $Package-&gt;requestTrack();
    print $trackedPackage-&gt;getActivityList();
</pre>
<p><strong>Installation:</strong><br />
You can install this module with <a href="http://www.cpan.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.cpan.org/');">cpan</a>.  In Linux the command is &#8216;cpan -i WebService::UPS::TrackRequest&#8217; .  The required prerequisite modules are: Mouse,  LWP::UserAgent , HTTP::Request::Common , XML::Simple , and Data::Dumper .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kbrandt.com/2009/03/track-ups-packages-with-perl-webserviceups.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
