summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);