in reply to How to cpture output of interactive command using perl.?
open my $fh, "interactive_command |" or die; # I can never remember t +he mode for the 3-arg form of this while (<$fh>) { ... } close $fh or die;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to cpture output of interactive command using perl.?
by Rapunzel (Novice) on Dec 10, 2008 at 10:32 UTC | |
by JavaFan (Canon) on Dec 10, 2008 at 10:37 UTC |