Package: libdbi-perl
Version: 1.51-2
Severity: normal

I have written a DBI subclass that overrides bind_param() and execute().
Unfortunately, this means I have to copy many functions from DBI.pm to
my class, since their C counterpart does not call back to Perl
functions.

For example, C's selectrow_arrayref() calls dbdxst_bind_params() and
dbd_st_execute() instead of Perl's own methods.  This means that my own
versions of these never get called, despite what the documentation
implies.

It would be nice if there was a way to turn off these C functions, or if
they could make use of dbixst_bounce_method() more often.  (Maybe the
Perl methods could figure out via caller() whether they were overridden
or not, and optimize themselves away if possible?)


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-toroia
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)

Versions of packages libdbi-perl depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libplrpc-perl                 0.2017-1.1 Perl extensions for writing PlRPC 
ii  perl                          5.8.8-6    Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.4]     5.8.8-6    The Pathologically Eclectic Rubbis
ii  perl-modules                  5.8.8-6    Core Perl modules

libdbi-perl recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to