Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Clarification on Class::DBI wackiness

by spork (Monk)
on Aug 03, 2005 at 17:37 UTC ( #480577=note: print w/replies, xml ) Need Help??

in reply to Re: Clarification on Class::DBI wackiness
in thread Clarification on Class::DBI wackiness

Good tip. However set_up_table() returned all of the column names (original post represented a subset of the table columns) but still presented the "statement handle" error message when running search().

I'm stumped as to why retrieve_all() is successful while search is not coming from the same base class.

  • Comment on Re^2: Clarification on Class::DBI wackiness

Replies are listed 'Best First'.
Re^3: Clarification on Class::DBI wackiness
by cees (Curate) on Aug 03, 2005 at 18:19 UTC

    Are you sure it is not something else in your code that is causing this. The code you provide above looks like it should work fine. But your error message mentions the error occurs on line 35 of your test file. This tells me you have a bunch of other stuff in your test file. Strip your code down to bare minimum and test it again.

    Also, test your code out using SQLite instead of Sybase. This may give you a hint as to what is going wrong as well. If the same error happens again, then we know it isn't the Sybase module causing the problem, and most likely it is with your code.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2023-03-31 05:52 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (74 votes). Check out past polls.