Re: 'AllTables' method in DBIx:.Database returns nothing with CSV files

[email protected] (Robert Roggenbuck)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
Did you tried it with an absolute path to f_dir?

Greetings

Robert

--

ozarfreo schrieb:
> I am using DBIx::Recordset to access a directory with CSV files, and
> the method DBIx::Database->AllTables seems to return just an empty
> hash reference. I'm talking about the following code:
> 
>   use DBIx::Recordset;
>   use Data::Dumper;
> 
>   my $db = DBIx::Database -> new ({'!DataSource'   =>
> "DBI:CSV:f_dir=db",
>                                    '!Username'     =>  "",
>                                    '!Password'     =>  "",
>                                    '!KeepOpen'     => 1}) ;
> 
>   print Dumper $db->AllTables();
> 
> The directory 'db' contains the CSV files. Is this a bug in
> DBIx::Database that should be reported, or am I missing something?
> 


-- 

======================================================
Robert Roggenbuck
Institut fuer wissenschaftliche Information e.V. (IWI)
Fachbereich Mathematik / Informatik
Universitaet Osnabrueck
Albrechtstr. 28a
49069 Osnabrueck
Germany
Tel ++49/541/969-2540  Fax -2770
[email protected]
http://www.iwi-iuk.org
======================================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.