What happens when you just try it?

 -Ken 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, December 13, 2005 11:13 AM
> To: inline@perl.org
> Subject: Inline::Java STUDY statements in a different package
> 
> Hi all,
> 
> What should I do to use Inline Java, if all the use 
> statements pertaining to it are in a different package. For 
> example, if I want to create an object of class 
> com.sonicsw.mq.mgmtapi.config.MQMgmtBeanFactory in a perl 
> script, then I will have to say something like:
> 
> my $objectRef = new 
> com::sonicsw::mq::mgmtapi::config::MQMgmtBeanFactory();
> 
> But, before that, I have to say:
> 
> use Inline Java => 'STUDY', STUDY =>
> ['com.sonicsw.mq.mgmtapi.config.MQMgmtBeanFactory'];
> 
> However, how would the first statement (my $objectRef = 
> ......) change if the use statement mentioned above was in a 
> different package.
> 
> Thanks.
> 
> Vishal 
> 
> 
> 
> ----------------------------------------
> This mail sent through www.mywaterloo.ca
> 

Reply via email to