You need to convert the strings to which $pback, $set and "*/$testqueue[0]" evaluate into shell literals. Or simply avoid the shell entirely.
open(my $pipe, '-|', ( $pback => ( $set, "*/$testqueue[0]" ) ) or die("Can't launch $pback: $!\n"); my $out = ''; { local $/; $out = <$pipe>; }
In reply to Re: Using */ with backticks in perl
by ikegami
in thread Using */ with backticks in perl
by xjlittle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |