Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: DBI specification change

by blakem (Monsignor)
on Jul 16, 2002 at 10:01 UTC ( [id://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

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-04-25 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found