Pipe and Par questions



PIPE AND PAR QUESTIONS

This might be the second posted copy of this note. The first one does not
appear to have registered. Since it was sent I solved one of the problems
mentioned in it on my own. It involved having Perl start other programs
running using Vista.

Windows Vista has a Run command that can be isolated with a little time and
effort and then used with the System command to start other programs
running. If System is used to start another program without the Run command
on my computer then Perl appears to stop running until the other program
ends.

These questions pertain to ActiveState Perl 5.8.8 running on a Windows XP
computer, and 5.10 running on a Windows Vista computer. The 5.10 version
appears to be quite easy to use for locating, downloading, and merging Perl
modules.

PIPE

What needs to be done to get Perl 5.10 (and Vista) to send information and
commands directly to a separate program? Perl is being used with
Gnuplot.exe, a versatile and powerful free, downloadable graphics program.
In the past I had Perl store information in a file that Gnuplot checked
several times a second. That worked. But attempts to get Perl to send
Gnuplot information directly using a Pipe have not been successful.
Commands I tried are different variations of:

Open (Program, "| program name");
Print Program 'information', "\n";

Perl did not stop running or generate any error messages. But Gnuplot just
waited for commands and did not do anything.

PAR

The plan is to generate .exe versions of my Perl programs and then circulate
them for free use to other researchers around the world who can download
their own copies of Gnuplot.

Has anyone worked with the PAR module to create .exe programs? Is PAR the
correct module to use? It would be helpful to see the exact commands that
need to be used to generate .exe programs. When I tried to use PAR in the
past I did not have much success.





.



Relevant Pages

  • Re: Pipe and Par questions
    ... What needs to be done to get Perl 5.10 to send information and ... Gnuplot information directly using a Pipe have not been successful. ... Commands I tried are different variations of: ... Has anyone worked with the PAR module to create .exe programs? ...
    (comp.lang.perl.misc)
  • Re: A _Bunch_ of Article_XXXX commands in _One_ send buffer.
    ... Speaking of perl... ... I love macros, they remove a lot of redundancy and other ugliness. ... issuing Article_XXXX commands one at a time. ... Terminals have a baud rate, ...
    (news.software.readers)
  • Re: Interactive apps with tcl
    ... I am trying to build an interactive test application. ... would like to generate interactive commands to an existing ... I think you will want to look at the Expect extension to Tcl. ... If you prefer to work in Perl, ...
    (comp.lang.tcl)
  • Re: Programming Languages Decisions
    ... The Perl - Gnuplot application is now running fine. ... should know about floating point" Computer floating point math is really ...
    (comp.lang.misc)
  • RE: Non-printing Characters
    ... Subject: Non-printing Characters ... commands sent to the printer. ... You've got Perl! ... somefile | less' to see what I can see of a file's format. ...
    (perl.beginners)