in reply to Using */ with backticks in perl

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>; }