just use the backtick operator to get the system output. Perl will wait untill the program stops and then return the whole output. If this program writes to a file as you say then just ignor the output and open the file.
For example:
my $junk = `system call here`;
# now open and process the file