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
rrogg...@uos.de
http://www.iwi-iuk.org
======================================================

Reply via email to