#!/usr/bin/env ruby myname="word-pstore-cgi.rb" require "cgi" c = CGI.new("html4") require "pstore" x = PStore.new("word.db") print "Content-type: text/html; charset=EUC-JP\n\n" print "
\n" for person in word.keys printf("%sさんのひとこと「%s」\n", person, word[person]) end print "" end