From: Mark Wilson Date: 2003-06-09T06:26:48+09:00 Subject: Re: output DBI::Utils::TableFormatter.ascii to something other than STDOUT On Sunday, June 8, 2003, at 04:31 PM, culley harrelson wrote: > How would I output this to something other than STDOUT? Is there a > constant I could replace for STDOUT to return the table to the tbl > variable? > > tbl = DBI::Utils::TableFormatter.ascii(col_names, rows, :center, > :left, 1, 1, nil, STDOUT) STDOUT is a global constant and is the initial value of IO global variable $stdout. You can assign a different IO destination to $stdout and use that instead of the constant STDOUT.