Tim,
 
I have preactically memorized the docs I have read them so many times.  If you 
have a better suggestion, I am wide open for it!
 
~mark

>>> Tim Bunce <[EMAIL PROTECTED]> 11-May-06 08:37:59 AM >>>

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.


Reply via email to