Re: How to know if a module is installed

2006-09-28 Thread Ken Williams
On Sep 27, 2006, at 10:25 AM, David Cantrell wrote: On Thu, Sep 28, 2006 at 12:00:34AM +0900, Nobumi Iyanaga wrote: This is a newbie question: how can I determine if a specific module is installed on a client machine? if(eval use Whatever::Module) { do this; } else { do that; }

How to know if a module is installed

2006-09-27 Thread Nobumi Iyanaga
Hello, This is a newbie question: how can I determine if a specific module is installed on a client machine? I would like to do something like this: if (MacPerl installed is true) { do this...; } else { do nothing...; } Thank you in advance for any help. Best regards,

Re: How to know if a module is installed

2006-09-27 Thread David Cantrell
On Thu, Sep 28, 2006 at 12:00:34AM +0900, Nobumi Iyanaga wrote: This is a newbie question: how can I determine if a specific module is installed on a client machine? if(eval use Whatever::Module) { do this; } else { do that; } -- David Cantrell | Reality Engineer, Ministry of

Re: How to know if a module is installed

2006-09-27 Thread Sherm Pendley
On Sep 27, 2006, at 11:00 AM, Nobumi Iyanaga wrote: This is a newbie question: how can I determine if a specific module is installed on a client machine? I would like to do something like this: if (MacPerl installed is true) { do this...; } else { do nothing...; } Thank you