Perl equiv


#1

I’m looking for something equivelant to the perl modules:
Net::Server.

It’s rather complete as a server.
Not sure what comparable items might be available for Ruby.

I’m putting something together in Perl because that’s what I know best,
but I
would like to port it to Ruby. It’s based on a postgresql DBI interface
and a
Net::Server::PreFork interface.

suggestions?


#2

2006/2/20, Tom A. removed_email_address@domain.invalid:

suggestions?
Do these help?

Net::TCPServer
DBI

robert


#3

Robert K. wrote:

Net::Server::PreFork interface.

This is frustrating.
I installed the debian package for ruby dbi but there’s nothing in the
‘ri’
docs. Is this a part of the stdlib?

http://www.ruby-doc.org/stdlib/
doesn’t give much useful information in the docs.
just a list of methods under dbm with no examples, format, args, words
of any
kind…

ugh?


#4

On 2/25/06, Tom A. removed_email_address@domain.invalid wrote:

This is frustrating. I installed the debian package for ruby dbi but there’s nothing in the ‘ri’
docs. Is this a part of the stdlib?

No. Ruby’s DBI is a separate project and not part of the Ruby stdlib.
ri documentation is also not typically updated. I find that debian
packages are usually out of date and the DBI team has just recently
had a new release. See:

http://ruby-dbi.rubyforge.org/

It works very similarly to Perl’s DBI module.

-austin