Mike Wilson wrote:

> >From: Robert Najlis <rnajlis / cs.indiana.edu>
> >Reply-To: ruby-talk / ruby-lang.org
> >To: ruby-talk / ruby-lang.org (ruby-talk ML), ruby-talk / netlab.co.jp
> >Subject: [ruby-talk:10536] Re: Ruby CGI exmamples
> >Date: Thu, 8 Feb 2001 08:40:02 +0900
> >
> >Thanks for your help
> >
> >-- not wanting to sound like too much of a neophyte at Ruby, but ... how
> >might I look at the cgi,rb?
> >
> >Thanks again.
> >
> >Robert Najlis
> >
> >
> >
>
> That's ok, we're all new at some point, I'm still pretty cherry myself ;)
> Ruby, like perl and python includes a large number of libraries, which due
> to the fact that Ruby (and perl and python) aren't compiled, are easily
> viewed with your favorite text editor.  Your Ruby distribution will have
> created a directory, I'm not sure if you're on a *nix or windows.  If, for
> instance, your ruby executable is in /usr/local/bin, then look in
> /usr/local/lib/ruby/1.6 (I'm assuming a 1.6* version) and you will find
> those libraries.  I'm not sure what it would be in windows, I'll assume
> possibly c:\windows\ruby\lib. ??  May also be /usr/lib/ruby/1.6, or
> something else..  Just whip out your favorite text editor and open cgi.rb,
> you'll see a ton of examples at the top.  It's so nice being able to just
> look at the library source ;)
>
> > >
> > >
> > > You'll want to
> > > require 'cgi'
> > > in your programs, just take a look at the cgi.rb, there's a bunch of
> > > examples in there.  There's also cgi-lib.rb and cgi/session.rb.
> > >
> > > Mike Wilson
> > > Unix Administrator
> > > http://ruby.weblogs.com
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com

Hey, there it is.  Great.  Thanks a lot.  That is quite useful.