Murcia has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Info wanted for simple database project

Replies are listed 'Best First'.
Re: Info wanted for simple database project
by valdez (Monsignor) on Apr 30, 2003 at 11:54 UTC

    You should start by reading the Database section of Tutorials, where you will find how to use DBI, the library you need to interface with databases. I suggest to use Class::DBI to make your life easier. If you are also looking for a dbms that works on *nix and other OSs, try with MySQL.

    Ciao, Valerio

Re: Info wanted for simple database project
by Tanalis (Curate) on Apr 30, 2003 at 11:56 UTC
    Take a look at the DBI module on CPAN.

    This is capable of interfacing with most, if not all, database systems, and will allow you to perform SQL queries, and retrieve results from the database server.

    -- Foxcub
    A friend is someone who can see straight through you, yet still enjoy the view. (Anon)

Re: Info wanted for simple database project
by AcidHawk (Vicar) on Apr 30, 2003 at 13:49 UTC

      I do not want to use mysql or other databases

    We really need more infomation on what it is you are trying to do. You did mention XML files.

    • Are you trying to get info from xml files into a database?
    • What database "are you using"/"have you experience with"?
    • Are there more than one xml files, and you need to get the info from ALL of them into the database?
    • Who controls the xml file/s?
    • Do you only need to read the files into memory and then do something with the data later in your script?

    As you can see there are loads of questions that still need to be answered before we can give you any really meaningful help.

    -----
    Of all the things I've lost in my life, its my mind I miss the most.
Re: Info wanted for simple database project
by Jenda (Abbot) on Apr 30, 2003 at 21:14 UTC

    Take a look at DBD::SQLite. Works on both Windows and Unix, doesn't require anything else installed and does support fairly complete SQL.

    Jenda
    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
       -- Rick Osborne

    Edit by castaway: Closed small tag in signature

A reply falls below the community's threshold of quality. You may see it by logging in.