Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
open(FCOOKIE, "|cookie.pl name=$name buddy=$buddy'"); # open cookie.pl + as a pipe, the variables name and buddy are now available to retriev +e in cookie.pl as parameters while(<FCOOKIE>){ print $_; # Print output to test } close(FCOOKIE);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Calling a Perl script from a Perl script
by davorg (Chancellor) on Sep 15, 2006 at 15:47 UTC | |
|
Re: Calling a Perl script from a Perl script
by wazzuteke (Hermit) on Sep 15, 2006 at 15:39 UTC | |
|
Re: Calling a Perl script from a Perl script
by caelifer (Scribe) on Sep 15, 2006 at 15:40 UTC | |
|
Re: Calling a Perl script from a Perl script
by swampyankee (Parson) on Sep 15, 2006 at 15:48 UTC | |
by davorg (Chancellor) on Sep 15, 2006 at 15:54 UTC |