I've never used it, but if.pm looks like it could do what you need: http://search.cpan.org/~ilyaz/if-0.0401/if.pm
--- Wilhelm Pastoors/Denic <[EMAIL PROTECTED]> wrote: > Hallo; > > the use of Inline-Java in our perl programs has a > bad impact on performance. > In about 1 percent of all cases the program needs > the > java-functionality, mostly Java is not needed. > > I tried with "require Inline" instead of > "use Inline", but this doesn't work out of the > box. > As a last resort I plan to separate the call > of Inline-Java in an extra "java.pl"-file and > to call this file via "system". > > Is there another, more elegant, solution for the > problem? > > All hints are appreciated. > > Sincerely > > Wilhelm Pastoors > > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/