Alvin Chao wrote:
This would also work:

BEGIN { $ENV{CLASSPATH} .= ".:.\\yourpath\\yourjars.jar:";
 }

#Load Java code
use Inline Java => <<'END_OF_JAVA_CODE', CLASSPATH=> $ENV{CLASSPATH}, AUTOSTUDY 
=> 1;

import java.stuff.jars;

public class Test
{
public static long youClass(your params) throws Exception
{
      System.setProperty("yourDashDParams","WhatTheyEqual");
}       

I basically want to wrap something like that in a module. But allow the caller to designate the classes they want to see. But have hidden in the module everything else.

"Why don't I just do it like Inline Java?" was the question I asked myself. I guess I can answer myself now, "it's not that easy."

Reply via email to