summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-19 10:02:52 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-19 10:02:52 +0800
commit92d124b64045a270cb6cd87a8e8088fc8efeb1da (patch)
tree1954eab7927cca97808b1f07419e91ab56a5326c
parent5b62fe7940c7d0aa9aab787a71c875a64f71c1ed (diff)
downloadpttbbs-92d124b64045a270cb6cd87a8e8088fc8efeb1da.tar
pttbbs-92d124b64045a270cb6cd87a8e8088fc8efeb1da.tar.gz
pttbbs-92d124b64045a270cb6cd87a8e8088fc8efeb1da.tar.bz2
pttbbs-92d124b64045a270cb6cd87a8e8088fc8efeb1da.tar.lz
pttbbs-92d124b64045a270cb6cd87a8e8088fc8efeb1da.tar.xz
pttbbs-92d124b64045a270cb6cd87a8e8088fc8efeb1da.tar.zst
pttbbs-92d124b64045a270cb6cd87a8e8088fc8efeb1da.zip
add class.list.pl
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@874 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttpi/cgi/t/class.list.pl14
1 files changed, 14 insertions, 0 deletions
diff --git a/pttpi/cgi/t/class.list.pl b/pttpi/cgi/t/class.list.pl
new file mode 100644
index 00000000..9e10932b
--- /dev/null
+++ b/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);