Randy,

If you spread out your code over different Perl modules, it will be
cleaner but it will slow down your script startup (each bit will be
compiled and loaded on it's own).

If you just want to add Perl method to those classes, you can just use
STUDY to study the classes you are interested in and then add your
Perl methods in the proper packages. You don't need to write Java code
if you don't need too.

HTH,

Patrick


On 7/1/05, Randall Marbach <[EMAIL PROTECTED]> wrote:
> Hi All
> 
> I have a jar file containing several java classes that
> I want to wrap with perl code so that I can extend
> each java classes's fuctionally by adding my own perl
> methods to it. In effect, I want to be able to
> subclass the java classes in the .jar using perl.
> What is the proper way to set up my modules to do
> this?
> Should I create a .pm module for each class and "use
> inline :: java" at the beginning of each module or is
> there a better way?
> 
> Hope these question make sense in that I am new to
> this stuff and I not a 100% sure I really know what I
> am doing ;-)
> 
> TIA
> 
> Randy
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 


-- 
=====================
Patrick LeBoutillier
Laval, Québec, Canada

Reply via email to