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
| [reply] |
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) | [reply] |
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.
| [reply] |
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 | [reply] |