- or download this
use IPC::Run qw/run/;
use IO::Tee;
...
my $in = ""; # this data is sent into the command
run [qw/cleartool describe lbtype:MYLABEL/], \$in, $printer, $printer;
- or download this
run [qw/cleartool describe lbtype:MYLABEL/], \$in, $tee, $tee;
- or download this
run [qw/cleartool describe lbtype:MYLABEL/], ">&", $printer;