Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by erix (Prior)
on May 06, 2022 at 12:38 UTC ( [id://11143621]=note: print w/replies, xml ) Need Help??


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 (Bishop) 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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-23 10:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found