madox has asked for the wisdom of the Perl Monks concerning the following question:
Can someone help me... i'm try to "connect" two Perl script but i can't, see the example:
##!/usr/bin/perl open HG, '|second.pl'; print HG <<'CMM'; ASDFAS SADF ASDF ASDFSA DF ASD FAS DF ASDF AS DF ASDF AS D FHE WT UWR EUW RTJ SRJ TT H CMM close HG;
And:
##!/usr/bin/perl open RG, '>./register.txt'; while (<STDIN>) {# i'm test with ARGV,STDIN,ENV and nothing happend print RG; } close RG;
How can i take the input in the second script?
Thank for your help in advance.
Madox
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Connecting two scripts
by FunkyMonk (Bishop) on Aug 15, 2007 at 10:27 UTC | |
by mamawe (Sexton) on Aug 15, 2007 at 11:14 UTC | |
by madox (Novice) on Aug 15, 2007 at 17:26 UTC | |
by madox (Novice) on Aug 15, 2007 at 16:54 UTC | |
by madox (Novice) on Aug 15, 2007 at 18:01 UTC | |
|
Re: Connecting two scripts
by cdarke (Prior) on Aug 15, 2007 at 11:08 UTC | |
by madox (Novice) on Aug 15, 2007 at 17:34 UTC | |
|
Re: Connecting two scripts
by andreas1234567 (Vicar) on Aug 15, 2007 at 11:13 UTC | |
by madox (Novice) on Aug 15, 2007 at 17:39 UTC | |
|
Re: Connecting two scripts
by ww (Archbishop) on Aug 15, 2007 at 11:49 UTC | |
by madox (Novice) on Aug 15, 2007 at 17:47 UTC | |
|
Re: Connecting two scripts
by madox (Novice) on Aug 15, 2007 at 18:36 UTC | |
by cdarke (Prior) on Aug 16, 2007 at 07:18 UTC |