]> pere.pagekite.me Git - homepage.git/blobdiff - blog/archive/2012/06/index.html
Add link.
[homepage.git] / blog / archive / 2012 / 06 / index.html
index 6ec495dcaed4e809d462a1ed2d09e613ef7b3837..c5659eb727cb1d8f94484662ee0300df7fe922ad 100644 (file)
@@ -93,15 +93,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 '', @_ } )
@@ -112,11 +109,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>