in reply to output from an external program

How about readpipe?
# Like this my $multilineString = readpipe('extprog'); # or split on current $/ my @lines = readpipe('extprog')
Update: Fell in the same trap as davorg did. Ignore me likewise.