comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Checking for perl
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Checking for perl [message #52911 is a reply to message #52909] Wed, 07 March 2007 07:03 Go to previous messageGo to previous message
Ben Panter is currently offline  Ben Panter
Messages: 102
Registered: July 2003
Senior Member
David Fanning wrote:

> Maybe you could search the PATH environment variable for "perl":
>
> IDL> thePath = GetEnv('PATH')
> IDL> IF StrPos(StrUpCase(thePath), 'PERL\BIN') NE -1 $
> THEN Print, 'PERL is allowed'
>
> PERL is allowed
>
> Cheers,
>
> David

Thanks David - unfortunately that fails under linux when perl is aliased
rather than in the path. I think I probably just have to accept that I
need to write a multi-os code.

Cheers,

Ben


--
Ben Panter, Edinburgh, UK.
Email false, http://www.benpanter.co.uk
or you could try ben at ^^^^^^^^^^^^^^^
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: hist_nd question
Next Topic: mapping volume data

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Nov 29 05:41:08 PST 2025

Total time taken to generate the page: 1.43792 seconds