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 sunlight beams...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2018-01-19 04:29 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (215 votes). Check out past polls.