summaryrefslogtreecommitdiffstats
path: root/pttbbs/pttpi/cgi/t/board.getBid.pl
blob: 0e542f5c1f12921df814162c95fbf878325741b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl
# $Id$
use Frontier::Client;
use Data::Dumper;
do 'host.pl';

$brdname = $ARGV[0] || 'SYSOP';
$server = Frontier::Client->new(url => $server_url);
$result = $server->call('board.getBid', $brdname);

print "board.getBid($brdname) from $server_url:\n";
print Dumper($result);