Re: Front end for Perl

[email protected] (Geoff Youngs) Sun, 17 Mar 2002 00:07:54 GMT
Newsgroups perl.riscos
Message-ID <[email protected]>
In message <[email protected]>
          James Taylor <[email protected]> wrote:

> Hmmm, I can't help feeling there ought to be a way to arrange for all three
> situations (double clicking, F12 star prompt, and task window star prompt)
> to work smoothly. I suppose all it would need is someone to write a code
> variable to detect the environment appropriately.

You could try <http://www.intersect-uk.co.uk/~iugeoff/perlrun.zip>

It checks the wimpstate and whether it is being run in a taskwindow.  If in
the desktop and a perl script is run in a taskwindow it is run normally,
otherwise a taskwindow is created.

Outside the desktop the taskwindow is not used.

It requires Perl to have already been seen by the filer and running the app
runs your EvalLoopS.

Tested on RO4.02 and should work on both earlier and later versions.

-- 
Geoff Youngs