summaryrefslogtreecommitdiffstats
path: root/pttpi/cgi/t/board.getBrdInfo.pl
blob: 7870e3863b1c2eb54d1c06d634e071d32bf5c9f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl
# $Id: board.getBrdInfo.pl,v 1.1 2003/05/19 01:58:27 in2 Exp $
use Frontier::Client;
use Frontier::RPC2;
use MIME::Base64;
use Data::Dumper;
do 'host.pl';

$bid = $ARGV[0] || 0;

$server = Frontier::Client->new(url => $server_url);
$result = $server->call('board.getBrdInfo', $bid);

print Dumper($result);
print decode_base64($result->{title}->value());