Re: Any DBI equivalent for Pg's method "print"?



I also tried with the following, and it did not work.

use IO::File;
....
my $fh = new IO::File "> /tmp/test.tmp";
....
my $display = DBI::Format::Box->new();
$display->header($result,$fh);
while (my $r = $result->fetchrow_arrayref()) {$display->row($r)}
$fh->close;

.