We are using Inline Java v. 0.49 and have the
following situation:

# in mainprog.pl

use ourmod;

# this works:
my $obj = ourmod::zephyr->new(55);

# this doesn't resolve; Java.pm can't find the
#prototype for the constructor mapped to Java:
my $obj = zephyr->new(55);


-----------------------
#ourmod.pm does all the usual things:

package ourmod;
our @ISA = qw(Exporter)
our @EXPORT = qw(zephyr::new);

use inline Java => <<'EOJ';

class zephyr
{
   public zephyr(String str) {}
etc.
}

EOJ


Is there a way to use the polluted name space, with
the inline Java defined in a module?

If there are package commands defining deeper Java
namespaces, are there reasonable ways to map these?
Overload import?

Thanks,
Tony Skjellum


=====
<DIV>Anthony Skjellum, PhD</DIV>
<DIV><A href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A></DIV>
<DIV><A 
href="www.efax.com">eFAX</A>&NBSP to this address: +1-270-637-4364</DIV>
<DIV> </DIV>

Reply via email to