DevHeads.net

How to use another script for input.

Hey, all. I've written a script that does a bunch of OpenStack API
stuff. Yay. But now I'm writing a CGI front-end, and I'd like to use
the first script to inform the new one, so to speak. I assume I have to
do classes in the "back-end" script, and then access them from the CGI
script.

I have no idea how to make this happen, aside from the fact that
"require" is probably involved.

Can someone point me to a site that could help me figure that out?

Thanks!

-Ken

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>