From 92d124b64045a270cb6cd87a8e8088fc8efeb1da 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/pttbbs@874 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttpi/cgi/t/class.list.pl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pttpi/cgi/t/class.list.pl 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); -- cgit v1.2.3