Vinay, you need to be sending these questions to the dbi user list, not just to me.
Based on the version number you supplied for the DBD you're using and that it does not match the value I mentioned suggests that you are not using Oracle. Also, you didn't mention if it was the most recent DBD version or whether it was built against the current DB or the old one. My suggestion was a long shot, based solely on some similarities with errors I had seen. You need to mention what database you're using, the version, and if you can, a short code example illustrating the problem. And send it to the list, there's a much better chance of getting helpful advice when many people can see the question. Thank you, Bob On 04/05/2011 06:03 AM, vinay parakoti wrote: > Hi Bob, > > I am dead again. tied has solved the issue. But in few places of code DB > insert/update statements are not working properly. But if I remove tied > they work fine but I get the undefined value issue. > > Could you please suggest on this. Thanks in advance. > > Thanks, > Vinay > > On Wed, Mar 30, 2011 at 1:35 PM, vinay parakoti <vinayja...@gmail.com > <mailto:vinayja...@gmail.com>> wrote: > > Hi Bob, > > Thanks a lot for the reply. > > DBD version that we are using is 1.65 > > I have tried command tied in my destroy function which had solved > the issue. > > Hope this is a correct fix for it. > > Please let me know otherwise. > Cheers, > Vinay > On Mon, Mar 28, 2011 at 11:05 PM, Bob McGowan > <bob_mcgo...@symantec.com <mailto:bob_mcgo...@symantec.com>> wrote: > > On 03/28/2011 04:37 AM, vinay parakoti wrote: > > Hi Tim, > > > > <<--deleted intro--> > > > It works fine in older version, but it throws below error in > new server: > > > > "Can't call method "prepare" on an undefined value at > lib/Session.pm line > > 519 during global destruction" > > > > I tried to create a DB connection instead of using existing > one, but didn't > > help. > > > > I am completely clueless on how it is working in old server > but not in new > > one. > > > > Any help on this would be highly appreaciated and I would be > very grateful. > > > > PS: DBI version in old server is 1.48 where in new server it > is 1.616 > > > > Cheers, > > Vinay > > > > I've had/seen similar issues, they are all related to the DBD > version, > not the DBI. > > I'm using the Oracle database and it looks like DBD::Oracle 1.27 has > fixed most, if not all, of these issues, for Oracle. > > I would suggest you get the latest DBD for your database. > > -- > Bob McGowan > > > -- Bob McGowan Principal Software Engineer, SES Software Engineering Shared Engineering Services Symantec Corporation