Dear Concerned, 

Please mention your MID number .







NOTE : Please mention us Your MID for Integration related issues.
Thanks and Regards,
Hardik Rathod,
ICICI Bank Ltd,
Payment Gateway Team (PGHELPDESK),
24 x 7 Support Given To All Our Clients
' 022 30437844.
' 022 30437845.



-----Original Message-----
From:   Siva Krishna Kumar Balijepalli (bsk...@gmail.com)
Date:   Tuesday, September 07, 2010  01:59 PM
To:   inline@perl.org (inline@perl.org)
Cc:   i...@cpan.org (i...@cpan.org)
Subject:  Sending java.lang.Integer as an argument to Java API

Hi,

A method of the Java API that I am using in my project requires
java.lang.Integer to be passed as an argument. As Inline::Java converts
java.lang.Integer into Perl SCALAR, API is throwing
IllegalArgumentException.

Is there a way, where in I can pass java.lan.Integer object as is,
Inline::Java not converting it into Perl SCALAR ?

Appreciate your time and help in this regard.

my $perlInteger = 10;
my $value = new java::lang::Integer($perlInteger);
print $value;
The outout of the above program will be 10.

But I want something like "main::java::lang::Integer:HASH(<some address>" to
be printed.

Thanks & Regards
Siva

Reply via email to