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
Comment on Re: Inline Java in a Perl OO Module
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2016-05-03 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?