in reply to Re^2: Does fetchall_arrayref() ever return a NULL?
in thread Does fetchall_arrayref() ever return a NULL?

You can't do any fetch after calling finish(), I don't think

  • Comment on Re^3: Does fetchall_arrayref() ever return a NULL?

Replies are listed 'Best First'.
Re^4: Does fetchall_arrayref() ever return a NULL?
by hippo (Archbishop) on May 06, 2022 at 13:06 UTC

    I'm not trying to perform a successful fetch - I'm trying to reproduce the documented behaviour. Hence calling finish first in order to ensure that the handle is inactive. And the fetch still doesn't return undef.


    🦛

      I didn't immediately spot that intention. And fair enough: the behaviour doesn't quite agree with the documented tekst.

      Then again, the DBI doc /also/ says that the "Active" attribute is vague at the moment, and means 'connected to database', with advise not to use it.

      It would seem that documentation could benefit from some polishing here and there