Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2016-10-01 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (574 votes). Check out past polls.