Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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.

-Blake


Comment on Re: DBI specification change
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2015-07-06 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (72 votes), past polls