#!/usr/bin/perl use strict; use warnings; open(PROG, "-| @ARGV"); while() { print $_; } close(PROG);