5 Copyright (c) 2003-2010, Andrew Dunstan
7 See accompanying License file for license details
11 use SOAP::Lite +trace;
14 ->uri('http://www.pgbuildfarm.org/PGBuildFarm')
15 ->proxy('http://127.0.0.1/cgi-bin/show_status_soap.pl')
16 ->request->header("Host" => "www.pgbuildfarm.org")
19 my $data = $obj->get_status->result;
20 my @fields = qw( branch sysname stage status
21 operating_system os_version
22 compiler compiler_version architecture
23 when_ago snapshot build_flags
26 print "Content-Type: text/plain\n\n";
28 my $head = join (' | ', @fields);
31 foreach my $datum (@$data)
33 my $line = join (' | ', @{$datum}{@fields});