Sundeep schreef:

> I am doing requirement analysis to build a forum (discussion board)
> using Perl.
> Currently the data is planned to be kept in text files, but later it
> may be moved to a database.
>
> I am new to database module (in fact to database related stuff). I
> read that DBI module is database independent. I want to know that can
> it be possible to keep text files as database currently and later
> changing to other database?
>
> Is there any module that will fetch me the records from a text file
> (like csv file) when I pass a SQL statement.
>
> Ideally, I need very less change in my code in future.

Consider starting with SQLite. It is easy to import the text files into
the database.
http://search.cpan.org/search?query=Rose::DB::SQLite

Of course you can also start with DBI and DBD::CSV,
http://search.cpan.org/search?query=DBD::CSV

-- 
Affijn, Ruud

"Gewoon is een tijger."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to