At 07:39 AM 11/1/2006, Randal L. Schwartz wrote: >Peter> my @so = `ps aux`; >Peter> my @firefox = grep( //, @so ); > >Did you mean to put something in those //? Doesn't make sense otherwise. lol. And the "if(scalar(@firefox)>0){foreach(@firefox){if(/???/){do_something)}} but I thought I would leave something to the poster to figure out.