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

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

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://480577]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2018-02-23 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (306 votes). Check out past polls.

    Notices?