Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

(ar0n) Re (2): Disappearing results with DBI and bind_columns

by ar0n (Priest)
on Dec 31, 2001 at 04:30 UTC ( #135304=note: print w/ replies, xml ) Need Help??


in reply to Re: Disappearing results with DBI and bind_columns
in thread Disappearing results with DBI and bind_columns

- I know this isn't related to your width/height issue, but is fetchrow() a valid DBI routine? I know that fetch() is an alias for fetchrow_arrayref(), but I've never seen plain old fetchrow() before.

Holy moly, you're right.

I merely switched fetchrow to fetch and it worked. I find this highly odd, to tell you the truth. I've used DBI for a few years now, and started using bind_columns about 6 months ago, after a Perl Mongers meeting. Since then, I've always used fetchrow. I'm surprised it hasn't once given me an error message or even a warning.

Thank you.

[ ar0n -- want job (boston) ]


Comment on (ar0n) Re (2): Disappearing results with DBI and bind_columns
Re: (ar0n) Re (2): Disappearing results with DBI and bind_columns
by steves (Curate) on Dec 31, 2001 at 10:42 UTC

    I'm not sure how you could have ever gotten bind columns to work with fetchrow. My understanding is that the fetchrow method is an old alias for fetchrow_array. I thought only plain old fetch returned values in bound columns since the others return their values in some sort of data structure -- an array in this case.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2015-07-06 11:37 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 (73 votes), past polls