Scott Serr wrote:

I've read those and unfortunately they didn't help me. (I'm not a Perl programmer, but that's probably not an excuse.)

Separate from Inline, Exporter seems like a way to expose module symbols to the caller.

I hope I'm not stating the obvious here, but anything you pass to a "use" statement in addition to the module name get's passed into that module's import() sub. Exporter just makes this easy by giving you some vars to play with and it's own import() sub.

Ditch Exporter and write your own import() sub to take the list that you want and pass it to Inline::Java's import() sub. Something like this:

package BOB;
use Inline::Java;

sub import {
  my $class = shift;
  Inline::Java->import(@_);
}

--
Michael Peters
Plus Three, LP

Reply via email to