in reply to Trying to grab process output.

Some suggestions:
Don't use "system" use back-ticks ``. Like this: my $outr = `ps -ef|grep Jones|grep -v awk|grep -v ksh`;
That will assign the output of your ps to $outr.

Or:

my $outr = `ps -ef|grep Jones`; @outr = split(/\n/, $outr); foreach (@outr) { unless (($_ eq /bin/ksh) or ($_ eq awk)) { print "$_\n"; } }

I think that one of these will do what you want. And if
you don't want to use ps -ef there are some modules that
will return this kind of system process info also.