snafu has asked for the wisdom of the Perl Monks concerning the following question:
I am thinking this doesn't work because the Shell module doesn't pipe to the open() command. If this is the case, is there a way to make Shell.pm pipe?#!/usr/local/bin/perl -w use strict; use Shell; . . . open(PID,ps("-u gvc")) # doesn't work. or die("Cannot open pipe for command: ps\n");
----------
- Jim
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use'ing Shell and open()'ing a pipe - question
by VSarkiss (Monsignor) on Sep 28, 2001 at 02:59 UTC |