DBI::PurePerl
Need to use the DBI somewhere where you can’t compile extensions?
- To deliver pure-perl code to clients that might not have the DBI installed?
- On an ISP that won’t let you run extensions?
- On a Palm Pilot?
-
The DBI::PurePerl module is an emulation of the DBI written in Perl
- Works with pure-perl drivers, including DBD::...
AnyData, CSV, DBM, Excel, LDAP, mysqlPP, Sprite, XBase, etc.
- plus DBD::Proxy!
-
Enabled via the DBI_PUREPERL environment variable:
0 - Disabled
1 - Automatically fall-back to DBI::PurePerl if DBI extension can’t be bootstrapped
2 - Force use of DBI::PurePerl
Reasonably complete emulation - enough for the drivers to work well
- See DBI::PurePerl documentation for the small-print if you want to use it