… | |
… | |
110 | use strict 'vars'; |
110 | use strict 'vars'; |
111 | |
111 | |
112 | use base 'Exporter'; |
112 | use base 'Exporter'; |
113 | |
113 | |
114 | BEGIN { |
114 | BEGIN { |
115 | our $VERSION = '1.42'; |
115 | our $VERSION = '1.44'; |
116 | |
116 | |
117 | our @BDB_REQ = qw( |
117 | our @BDB_REQ = qw( |
118 | db_env_open db_env_close db_env_txn_checkpoint db_env_lock_detect |
118 | db_env_open db_env_close db_env_txn_checkpoint db_env_lock_detect |
119 | db_env_memp_sync db_env_memp_trickle |
119 | db_env_memp_sync db_env_memp_trickle |
120 | db_open db_close db_compact db_sync db_upgrade |
120 | db_open db_close db_compact db_sync db_upgrade |
… | |
… | |
440 | =item $msg = BDB::strerror [$errno] |
440 | =item $msg = BDB::strerror [$errno] |
441 | |
441 | |
442 | Returns the string corresponding to the given errno value. If no argument |
442 | Returns the string corresponding to the given errno value. If no argument |
443 | is given, use C<$!>. |
443 | is given, use C<$!>. |
444 | |
444 | |
|
|
445 | Note that the BDB module also patches the C<$!> variable directly, so you |
|
|
446 | should be able to get a bdb error string by simply stringifying C<$!>. |
|
|
447 | |
445 | =item $fileno = BDB::poll_fileno |
448 | =item $fileno = BDB::poll_fileno |
446 | |
449 | |
447 | Return the I<request result pipe file descriptor>. This filehandle must be |
450 | Return the I<request result pipe file descriptor>. This filehandle must be |
448 | polled for reading by some mechanism outside this module (e.g. Event or |
451 | polled for reading by some mechanism outside this module (e.g. Event or |
449 | select, see below or the SYNOPSIS). If the pipe becomes readable you have |
452 | select, see below or the SYNOPSIS). If the pipe becomes readable you have |