Wu, Gang (Steven) wrote:
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.


It only "just quits" after all of the code in the 'if($@){}' block gets run.


So you would simply have it as :

if($@) {
  # Run the code that you want to run
  # when there's no Inline available
  exit;
  }

No matter ... I can envisage sutuations where that wouldn't be the best solution ... just wondered if there was some other problem and it seems there isn't :-)

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.




Reply via email to