473,804 Members | 3,748 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can't call method "bind_param_ino ut" without package or object reference

2 New Member
hi,

When iam executing the perl code iam getting error like"can't call method"bind_par am_inout" with out package or object reference .here iam send little bit code plz check and can you tell me the solution for this

Expand|Select|Wrap|Line Numbers
  1. $stmt = "BEGIN pr_tip_ia_emp(:1); END;";
  2.  
  3. $sth = $dbh->prepare($stmt) or &interface_error("Prepare Failed for $stmt. $DBI::errstr\n");
  4.  
  5. $errmsg = "";
  6. $errmsg = $sth->bind_param_inout(1,\$errmsg, 255);
  7.  
  8. $sth->execute() or &interface_error("Execute failed for $stmt. $DBI::errstr\n");
  9. $sth->finish or &interface_error("Finish failed for $stmt. $DBI::errstr\n");
  10.  
  11. &interface_error("Procedure pr_tip_ia_emp returned error. $errmsg\n") if ($errmsg ne "");
  12.  
Jul 5 '07 #1
3 4391
KevinADC
4,059 Recognized Expert Specialist
you need to load the module that has the method you're trying to use.

in your case I believe it's the DBI module so you need this line in your program:

Expand|Select|Wrap|Line Numbers
  1. use DBI;
Jul 5 '07 #2
risrikanth
2 New Member
the module has been already loaded

i used like this
use Getopt::Std;
use DBI;
Jul 5 '07 #3
KevinADC
4,059 Recognized Expert Specialist
Then I don't know. Have you checked the DBI documentation?
Jul 5 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
389
by: Simon Morris | last post by:
In VB6 I use to call controls in another form by: With frmTaskList.lvwTask Select Case .Visible Case True
14
1822
by: Dubh | last post by:
I'm a beginner with .NET so this is probably a very simple problem that will be immediately obvious to someone hopefully. I'm using J#.NET The following contains the code caused the error Line 385: String link = "http://10.4.190.120/config/lconfig.aspx" ; Line 386: GtLink.Redirect(link); Line 387: //NLine.set_Text(Selection); STACK TRACE
2
6574
by: SP | last post by:
Hello All, I have a web method in a web service as follows: public SqlDataReader Display_test_data() { string connectionInfo = ConfigurationSettings.AppSettings;
4
1374
by: Aby | last post by:
hi all, i need to send a String array from C# to a managed c++ dll function. Managed dll mthd -- void Managed::printNames( String* a_arStrNames) { } C# app calling dll fun --
3
2572
by: SAL | last post by:
I am getting the following ERROR in my WebApp on line 30: Server Error in '/TestWebApp' Application. -------------------------------------------------------------------------------- Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
1
2749
by: vishnu | last post by:
Hi, I am working on asp.net project which I converted the code fron VB to C# and instead of RaiseEvent in VB code I used the following code. using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security;
4
1766
by: johnxhc | last post by:
We have a project in .NET 1.1 , some of the .NET methods take COM interface reference pointer as a parameter, somehow we have to call Marshal.ReleaseComObject to release the COM Object, otherwise the COM object will never get release, Even we call gc.Collect() But the same code compiles in .NET 2.0 works without the Marshal.ReleaseComObject. (Unfortunately the project is supposed to run on .NET 1.1.)
2
3159
by: iavian | last post by:
Hi All, Getting below error, what might be the issue... Can't call method "numify" without a package or object reference at /usr/local/lib/perl5/site_perl/5.6.1/OLE/Storage_Lite.pm line 1329. My progrmam has just 3 lines of code as below #!/usr/bin/perl use Spreadsheet::ParseExcel; my $excel = Spreadsheet::ParseExcel::Workbook->Parse($ARGV);
1
3817
by: JWest46088 | last post by:
I'm getting this error when I try to preview my code: TypeError: Error #1009: Cannot access a property or method of a null object reference. at therun4life_fla::MainTimeline/frame1() I don't know what it could be. I looked over my code several times, and I can't find anything. Maybe it isn't sticking out because I put the code in. All of this code is in the first frame. Any idea what it could be? stop(); about_mc.buttonMode =...
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10583
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10337
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10082
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7622
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6854
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5654
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3822
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2995
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.