I understand what you are saying... We used "yield" to return from the method, otherwise I was essentially returning the dbh.disconnect. Calling the method is writing to standard out... My question is, how do I get that standard output into a local variable or some other usable form? I need to assign it to a variable and then compare it to another variable later... -- Posted via http://www.ruby-forum.com/.