Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to "transfer control" to child process?

by John M. Dlugosz (Monsignor)
on May 23, 2011 at 19:39 UTC ( #906348=note: print w/ replies, xml ) Need Help??


in reply to How to "transfer control" to child process?

Well, the first thing anyone will tell you is

use warnings; use strict;
and see if Perl itself starts telling about anything odd or finding any mistakes.

I see that you invoke the program with a line containing << !. That changes STDIN to read from something else (I'm not familiar enough with ksh to know if ! has a special meaning or is the name of a file). That stays in effect through all the programs called down through system, so the use of STDIN won't prompt the user but will keep reading from ! (whatever that is).

What is the purpose of that? I don't see your main script reading anything from STDIN itself.


Comment on Re: How to "transfer control" to child process?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://906348]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2016-02-12 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (386 votes), past polls