From 42524365455d965c51342414b796f1b397cf7361 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 19 May 2003 02:02:52 +0000 Subject: add class.list.pl git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@874 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/pttpi/cgi/t/class.list.pl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pttbbs/pttpi/cgi/t/class.list.pl diff --git a/pttbbs/pttpi/cgi/t/class.list.pl b/pttbbs/pttpi/cgi/t/class.list.pl new file mode 100644 index 00000000..9e10932b --- /dev/null +++ b/pttbbs/pttpi/cgi/t/class.list.pl @@ -0,0 +1,14 @@ +#!/usr/bin/perl +# $Id: class.list.pl,v 1.1 2003/05/19 02:02:52 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('class.list', $bid); + +print Dumper($result); -- cgit v1.2.3