NB: This email and its contents are subject to our email legal notice which can be viewed at http://www.sars.gov.za/Email_Disclaimer.pdf
---- Still OT Chris, what is AoAs ? At my current site, I use WATiR, but cannot do any DB work in Ruby, because the DB (DB2 on zOS) doesn't allow ODBC connections. You need to access certain sys/admin tables to get an ODBC connection, and we don't have even select rights on those. I cannot get the Ruby DB2 driver to work on my 'doze box. So, Perl + DBD::DB2. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 26 September 2005 04:40 To: [email protected] Subject: Re: [Wtr-general] About the installation of DBI OT, disregard if you don't care about ODBC or Perl... > ---- I think Ruby's DBI (at least for Win32) is not as mature as > Perl's by a long shot. I really miss that, because I make *extensive* > use of the Perl DBI. I've been doing heavy ODBC work with Ruby's DBI (on Win32) for the last few weeks, and it looks good from here-- that is, I haven't yet found anything I can't do with the Ruby DBI. In some ways, Ruby's DBI is easier to use (for me) than Perl's. Mostly because returns from SQL statements seem to always be either arrays or AoAs, which I find really intuitive to use, where in Perl's DBI, returns are generally hashes, and you have to be pretty familiar with the DBI docs to figure out how to address the data. I realize that Perl's DBI is a lot older and has a lot more bells and whistles, but (so far) I haven't needed those features, and Ruby DBI seems to be easier to use. And that's not even talking about ActiveRecord, which I have yet to fool with. That said, the instant I need a feature available with Perl's DBI not available with Ruby's DBI, I'm switching to Perl. =) -Chris _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
