Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

DBI 1.34 - new methods and heads-up on future requirements

by gmax (Abbot)
on Mar 02, 2003 at 17:39 UTC ( [id://239872]=perlnews: print w/replies, xml ) Need Help??

DBI 1.34 is out.

Apart from bug fixes, the interesting news are a couple of new method and a warning about minimum requirements being increased in future versions.

New methods

Quoting from the DBI documentation.
  • can
    $is_implemented = $h->can($method_name);

    Returns true if $method_name is implemented by the driver or a default method is provided by the DBI.

  • install_method
    DBD::Foo::db->install_method($method_name, \%attr); Installs the driver-private method named by $method_name into the DBI method dispatcher so it can be called directly, avoiding the need to use the func() method.

Minumum requirements

As of today, the DBI requires perl 5.005_03 or later. But this is going to change.

From Tim Bunce's announcement at dbi-announce@perl.org
Future versions of the DBI *will not* support perl 5.6.0 or earlier.
: Perl 5.6.1 will be the minimum supported version.
If you are using earlier versions of Perl and want to stay updated with the DBI in future, this looks like a good moment to start thinking about upgrades.
Notice that the same warning was issued for version 1.33 as well.
_ _ _ _ (_|| | |(_|>< _|

Replies are listed 'Best First'.
Re: DBI 1.34 - new methods and heads-up on future requirements
by princepawn (Parson) on Mar 15, 2003 at 12:57 UTC
    Something that appears to have never made it into the DBI docs is that Tim implemented something similar to DBIx::AnyDBD in the DBI code.

    I personally still reach for DBIx::AnyDBD , but me or someone should get off their duff and document this new functionality. Search for DbSubtype in the DBI mailing list archive.

    Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlnews [id://239872]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-19 03:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found