in reply to Perl, Wince and DBI

It's possible, I believe to compile for wince (gotta love that so appropriate name) on a desktop and then move the executable to the PDA but I've never tried so I don't know how easy that is. If you are unable to do that (and I'd pursue that and the other suggestions in this thread first), there is a little goody in the DBI distribution that many people don't know about: DBI::PurePerl. I came up with the idea for that module for exactly your case: it provides many of the features of full DBI without the need to compile. Simply copy your DBI distro lib tree onto the PDA and in your scripts.pm set the environment variable DBI_PUREPERL to 1. With that setting DBI will try to load its compiled executable and if that fails it will load the pure perl version. The pure perl version is slower in some cases and missing some advanced features but has everything you need for standard CRUD operation. It worked for me on wince 3.0 and I've had reports of it working on Zaurus and other PDAs as well.

Replies are listed 'Best First'.
Re^2: Perl, Wince and DBI
by jason.drew (Novice) on Oct 07, 2005 at 12:34 UTC
    Many thanks for that. I'm glad you reminded me as I have come across this but the goldfish side of my memory took over and forgot about it 2 seconds later!

    Actually I have ended up using hash arrays since the database is small and simple but it would be nice to get DBI working anyway for future uses. I will give it a try.

    Jason