Hi, Rob, Your initial solution uses "use", and if the C inline module isn't installed, the program just quits. Then Eric suggested using import, but I wasn't sure how to put my C code at the end of the file.
Thanks! Steven -----Original Message----- From: Sisyphus [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 3:32 PM To: Wu, Gang (Steven) Cc: [EMAIL PROTECTED] Subject: Re: How do I disable modules in a script Wu, Gang (Steven) wrote: > Hi, Ken, > > Thanks for the quick reply. Actually, I want to avoid using "use," > because it will get caught if Perl couldn't find the Inline module and > terminate my program. So Eric suggested using Inline::import(). My code > is as follows (modified after reading your message), but it still can't > find the C subroutine. Can you take a look? Thanks! > What was the problem with the solution I proposed initially ? Cheers, Rob -- Any emails containing attachments will be deleted from my ISP's mail server before I even get to see them. If you wish to email me an attachment, please provide advance warning so that I can make the necessary arrangements.