gabrielsousa has asked for the wisdom of the Perl Monks concerning the following question:
open( my $LFTP,'|-', "lftp -u $user,$pass -e open $host " ) || die "Ca +nnot open lftp: $!"; print $LFTP <<"END"; ls END
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: feeding stdin of executed command and store stdout in $var
by Corion (Patriarch) on Jan 25, 2017 at 13:32 UTC | |
by gabrielsousa (Sexton) on Jan 25, 2017 at 13:35 UTC | |
by Corion (Patriarch) on Jan 25, 2017 at 13:42 UTC | |
|
Re: feeding stdin of executed command and store stdout in $var
by haukex (Archbishop) on Jan 25, 2017 at 13:55 UTC | |
by gabrielsousa (Sexton) on Jan 25, 2017 at 14:26 UTC | |
by haukex (Archbishop) on Jan 25, 2017 at 14:43 UTC | |
by gabrielsousa (Sexton) on Jan 25, 2017 at 16:44 UTC |