in reply to Re: Re: XBase File output
in thread XBase File output

Anyway the docs talks about references to list. You have given an array for the fieldnames argument.

Replies are listed 'Best First'.
Re: Re: Re: Re: XBase File output
by michellem (Friar) on Feb 08, 2004 at 05:05 UTC
    You are absolutely right, it does. Thanks for pointing that out, I'd missed it (probably because there wasn't an example that used it). However, changing the code to:
    my $new_table = XBase->create("name" => "$filename.$ext", "field_names" => \@column_names, "field_types" => undef, "field_lengths" => undef, "field_decimals" => undef);
    had no effect - I still get the same error.