in reply to SQLite wouldn't work

Do you get any error messages??

If it is a CGI-Script use these lines in your script:
use CGI::Carp qw(fatalsToBrowser warningsToBrowser); # print the header... warningsToBrowser(1);
This will print all error messages and warnings to your browser...

Are all needed modules installed?