Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Clarification on Class::DBI wackiness

by spork (Monk)
on Aug 03, 2005 at 17:37 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-06-20 21:25 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.