Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Don't forget the DBI abstraction layer :-)
    • There can be good reasons for it.

      The wrapper that I continually reuse, implements a keyword lookup into a Class::Phrasebook XML file. This has meant I have been able to move from MySQL to MS SQL Server 7, by only changing the XML file. Plus my wrapper creates the DBI object for you, but only if you require it. I have seen several implementations of CGI scripts that create a connection, even when the request never uses it.

      Although Class::DBI may be growing in popularity it doesn't suit all purposes, and sometimes writing a wrapper (hopefully a simple one to understand) is better than recreating all code to access the DBI calls.

      If I've misunderstood and you are talking about people rewriting DBI.pm in their own fashion ... then please forgive me. They must be complete mad!