# @exec has the commad that i wish to run open (T_RES,"@exec |") or die "Unable to fork '@exec': $!"; while () { # parsing the output }