Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: DBI specification change

by blakem (Monsignor)
on Jul 16, 2002 at 10:01 UTC ( #182030=note: print w/replies, xml ) Need Help??

in reply to DBI specification change

Hmm... Can't say that I like the newly documented behavior, but its always been a bit murky anyway. See this discussion where three of us so-called-saints all got it wrong. Perhaps in a future release, fetchrow_array should throw a warning when called in scalar context.


Replies are listed 'Best First'.
Re: Re: DBI specification change
by cowens (Beadle) on Jul 18, 2002 at 17:11 UTC
    I agree that fetchrow_array in scalar context should throw a warning. Somthing like:
    $scalar = $sth->fetchrow_array better written as ($scalar) = $sth->fet +chrow_array

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2019-09-15 14:07 GMT
Find Nodes?
    Voting Booth?
    The room is dark, and your next move is ...

    Results (180 votes). Check out past polls.