in reply to Re: Passing DBH into sub
in thread Passing DBH into sub

Thanks for the reply, but read my post a little more carefully. The query string works perfectly if I use a different method to get the database handle.

The error means that the database handle is undefined, not that the query string is munged somehow.
--
man with no legs, inc.

Replies are listed 'Best First'.
Re: Re: Re: Passing DBH into sub
by lestrrat (Deacon) on Jul 14, 2001 at 05:03 UTC

    While he may not have hit the answer you wanted, it's kind of impossible to find out what is wrong with your script just by looking at the post, I think. At least, from what I can tell, your problem is not that get_member function or anything... ergo, the problem must be in the rest of the code.

    My suggestion is to use perl -d to step through the suspicious areas...