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



I tried with the standard IO Handle, but it does not work....

open (wFile, ">/tmp/test.tmp") or die("Oops on open: $!");
....
my $display = DBI::Format::Box->new();
$display->header($result,\*wFile);
while (my $r = $result->fetchrow_arrayref()) {$display->row($r)}

.