Coding PERL in UltraEdit

Project, workspace, and file management issues

Coding PERL in UltraEdit

Postby Jane » Sun Aug 06, 2006 7:19 pm

I am running/testing PERL using the DOS command function. It works fine for most things - i.e. it runs the script and shows the output/response in a new command output tab. However, I want to use it with a line in the program such as:
$foo = <STDIN>
and it will need to receive information from the command line before moving past this line.
I thought it would wait for a response in the command output tab, but it stops and waits for input somewhere I can't see: i.e. it stops and the run DOS button is greyed out. Is it possible to run and accept input from within UltraEdit?. I can always run it from a command prompt, but it is nicer to do the test cycles without having to switch back and forth.
I am using version 10.10c
Thanks,
Jane
User avatar
Jane
Basic User
Basic User
 
Posts: 22
Joined: Sat Aug 05, 2006 11:00 pm
Location: Canada

Re: Coding PERL in UltraEdit

Postby Mofi » Mon Aug 07, 2006 5:20 am

Have you enabled Show DOS Box for your Perl user tool?
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 3936
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Coding PERL in UltraEdit

Postby Jane » Mon Aug 07, 2006 3:24 pm

Initially I had tried that, and also Alternate Capture Method. For many of the programs without <STDIN> it was distracting having the window flashing on and off each cycle.
If the <STDIN> is included in a loop which gets input, processes the input, then prints something, then loops again for e.g 5 times, UltraEdit does not process the post input steps after each input, but rather you have to enter input 5 times in the same screen before it goes back and finishes processing. Also, sometimes it would become unresponsive and I would have to restart UltraEdit so I turned it off.
However, for single pass input it seems to be behaving so far.
Thanks for your help,
Jane
User avatar
Jane
Basic User
Basic User
 
Posts: 22
Joined: Sat Aug 05, 2006 11:00 pm
Location: Canada


Return to Projects/Workspace