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'];
Then BOB.pm at a minimum would do this:
BEGIN {
$ENV{CLASSPATH} .= "....";
}
use Inline Java => 'STUDY',
STUDY => ['JavaClass1', 'JavaClass2'];
I and Perl types at work, are a bit mystified at the "pass a LIST" on
the end of a "use" command. I've tried alot of different ways to
reference/dereference what I hope is being passed into BOB.
How would I see the "LIST" passed into the BOB module?
I'm assuming that I can expose JavaClass1 and JavaClass2 up through BOB
to the caller of BOB.
This has really kicked my behind, many hours now. Please help.
Thanks,
Scott