in reply to Re: Heredoc with system call
in thread Heredoc with system call
echo "$var1 and $var2 can be read here"; open my $fh, "|-", "sudo su - APP" or die "can't run sudo: $ +?"; print $fh <<' _EOF_'; ls echo "$var1 and $var2 can't be found here ? :( " _EOF_ close $fh;
2019-04-23 Athanasius added code tags
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Heredoc with system call
by bliako (Abbot) on Apr 22, 2019 at 10:26 UTC | |
by Anonymous Monk on Apr 22, 2019 at 16:37 UTC | |
by bliako (Abbot) on Apr 22, 2019 at 18:03 UTC | |
Re^3: Heredoc with system call
by LanX (Saint) on Apr 22, 2019 at 10:56 UTC |