Patrick LeBoutillier wrote:
---------- Forwarded message ----------
From: Patrick LeBoutillier <[EMAIL PROTECTED]>
Date: Fri, Oct 10, 2008 at 5:11 PM
Subject: Re: Wrapping Inline::Java elegantly?
To: Scott Serr <[EMAIL PROTECTED]>


Try something like this:

 package BOB;
 use Inline (
     Java => 'STUDY',
     STUDY => [],
 ) ;
 use Inline::Java qw(study_classes) ;


 sub import {
 my $class = shift;
 Inline::Java->study_classes([EMAIL PROTECTED], undef);
 }

Didn't work at first, but I searched on study_classes and saw another post by you with a slight variation, instead of:
   Inline::Java->study_classes([EMAIL PROTECTED], undef);
this did the trick:
   study_classes([EMAIL PROTECTED], undef);

Thank you, today... and your post on Sept 16th, 2005!

Reply via email to