Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 contemplating the Monastery: (2)
As of 2017-04-25 00:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (447 votes). Check out past polls.