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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://725058]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found