#!/usr/bin/perl =comment Copyright (c) 2003-2010, Andrew Dunstan See accompanying License file for license details =cut use SOAP::Lite ; my $obj = SOAP::Lite ->uri('http://buildfarm.exim.org/EximBuildFarm') ->proxy('http://buildfarm.exim.org/cgi-bin/show_status_soap.pl') ; my $data = $obj->get_status->result; my @fields = qw( branch sysname stage status operating_system os_version compiler compiler_version architecture when_ago snapshot build_flags ); print "Content-Type: text/plain\n\n"; my $head = join (' | ', @fields); print $head,"\n"; foreach my $datum (@$data) { my $line = join (' | ', @{$datum}{@fields}); print $line,"\n"; }