Re: Question about 'use JPL::Class'

[email protected] (Brian Jepson) Tue, 6 Jun 2000 10:53:26 -0700 (PDT)
Newsgroups perl.jpl
Message-ID <[email protected]>
I don't think JPL supports that.  Does anyone know how we would support
this sort of thing? Is there functionality in JNI that would let us
enumerate all the classes in a given package?

On Fri, 2 Jun 2000 [email protected] wrote:

> In a Perl script using the JNI module, is it necessary to 'use JPL::Class'
> for every object I want to import or can I use the * wildcard like in Java?
> 
> For example:
>      use JNI;
>      use JPL::AutoLoader;
>      use JPL::Class 'java::parent::child1';
>      use JPL::Class 'java::parent::child2';
>      use JPL::Class 'java::parent::child3';
>      use JPL::Class 'java::parent::child4';
> or can I say:
>      use JNI;
>      use JPL::AutoLoader;
>      use JPL::Class 'java::parent::*';
> 
[...]

--
Brian Jepson * ([email protected])  *  http://www.jepstone.net/