Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Inline Java in a Perl OO Module

by fmerges (Chaplain)
on Nov 21, 2008 at 06:16 UTC ( #725058=note: print w/replies, xml ) Need Help??


in reply to Inline Java in a Perl OO Module

Hi,

Put the java code outside, and use the STUDY option. Example from the manual:

use Inline ( Java => 'STUDY', STUDY => ['java.util.HashMap'], );

If it's not enough like this, you can also make a wrapper Class, and use it from ABC Class.

Regards,

fmerges at irc.freenode.net

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://725058]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2017-05-23 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?