Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^4: Inline::Java Question

by tobyink (Abbot)
on Feb 03, 2012 at 22:30 UTC ( #951723=note: print w/replies, xml ) Need Help??

in reply to Re^3: Inline::Java Question
in thread Inline::Java Question

My general advice when using Inline is to keep data passed between Perl and the other language as simple as possible. Passing a Perl object to a Java object as a method parameter is doable, but seems advisable. I tried to make sure I was only passing strings through to Java.

Clearly some Java classes expect more complex data structures to be passed to them - but you write wrappers for those, and do (for example) JSON encoding/decoding at each end.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://951723]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2016-10-26 04:29 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (333 votes). Check out past polls.