I'm working on a project thats going to have a lot of user created perl code, backed by a database. However, the user written perl code will only have access to the database, so it can't create files on the filesystem or any thing of that nature, and also will not have any access to change the schema of the database, all it can do is retrieve specific information from table.
However, occassionally the user created perl code might need to have access to database related functionality. Now given the above constraints, the code can't create it's own table in whatever database is being used, so that option is out. It also can't create files on the filesystem to emulate certain database tasks.
Now of course my immediate reaction was that I could just use something like a
BerkeleyDB database, and then store all of it's data in the table the script has access to. However, due to the twists and turns of fate, the database that the berkely db will be stored in might turn out to be a berkely db as well!
So my question is,
A) is it possible to do something like this, storing a database within another one
B) are there any issues that might arise from something like this?
C) Or am I stuck using storable to free/thaw my data in to the database?