On Friday 10 October 2008 05:12:08 Scott Serr wrote:
> I'm sorry if this is not the right place to ask, but here is my question...
>
> I want to abstract some complexities away from users, CLASSPATH and some
> other things.  So I would like to wrap the Inline Java package in my own
> package, so to call the wrapper would look like this:
>
>     use BOB ['JavaClass1', 'JavaClass2'];
> or even
>     use BOB STUDY => ['JavaClass1', 'JavaClass2'];

There's no need to pass an array reference here. Just a plain old list is all 
you need:
use BOB qw(JavaClass1 JavaClass2);

perldoc perlmod
and
perldoc Exporter
should give you all the info you need.

Regards,
Stefan

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to