On Wed, May 10, 2006 at 09:11:29AM -0400, Mark Galbreath wrote: > Hi Guys, > > I'm using a subclass of DBI called DBD::XBase for reading Oralce DBF > tablespace datafiles, translating them into delimited text files, and then > loading them into MySQL with DBI. The problem is the only way DBD:XBase can > output the text file with field delimiters I need is it slurps the whole file > to STDOUT. So I did this (don't laugh): > > my $table = new XBase; > open STDOUT, ">data.txt"; > $table->dump_records( "fs" => "|" );
Do not use dump_records for data transfer. Your data may get mangled in various ways. See the docs. Tim.
