]> pere.pagekite.me Git - homepage.git/blobdiff - blog/archive/2012/06/06.rss
Generated.
[homepage.git] / blog / archive / 2012 / 06 / 06.rss
index cf19d06a2d24ae6873576d94242de312899ef648..b7d4ac436d677fa56df853fc6f81556e774b11e2 100644 (file)
@@ -63,15 +63,12 @@ demonstrate how to do it:</p>
 <p><pre>
 use strict;
 use warnings;
-
 use SOAP::Lite;
 use Data::Dumper;
-
 my $GUID = '11111111-1111-1111-1111-111111111111';
 my $App = 'test';
 my $servicetag = $ARGV[0] or die "Please supply a servicetag. $!\n";
 my ($deal, $latest, @dates);
-
 my $s = SOAP::Lite
     -> uri('http://support.dell.com/WebServices/')
     -> on_action( sub { join '', @_ } )
@@ -82,11 +79,7 @@ my $a = $s->GetAssetInformation(
     SOAP::Data->name('applicationName')->value($App)->type(''),
     SOAP::Data->name('serviceTags')->value($servicetag)->type(''),
 );
-
-# Do the grabbing
-my $asset = $a -> result;
-
-print Dumper($asset) ;
+print Dumper($a -> result) ;
 </pre></p>
 
 <p>The output can look like this:</p>