Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

(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

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://135304]
[Discipulus]: good night monks!
[shmem]: LanX: oh... now I have to figure out if this is good or bad news.
LanX bad day monks ?
[LanX]: hope you find sleep
[shmem]: LanX: which one?
[LanX]: the last
Discipulus yes a very bad day
[shmem]: grandola, vila morena
[shmem]: LanX: ah, that one. You'll get the bug reports also :P
[Discipulus]: upvote me! i'll make pm great again! ;=)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2017-04-29 22:43 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (534 votes). Check out past polls.