in reply to Running Entire Bash Script Inside Perl
open SH, '|/bin/sh --some-switch-sh-understands--important' or die $!; print SH <DATA>; close SH;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Running Entire Bash Script Inside Perl
by ikegami (Patriarch) on Jun 19, 2009 at 23:38 UTC | |
by Anonymous Monk on Jun 19, 2009 at 23:53 UTC |