I noticed that when I use backticks in perl the commands are executed using sh, not bash, giving me some problems.
How can I change that behavior so perl will use ba
To deal with running bash and nested quotes, this article provides the best solution: How can I use bash syntax in Perl's system()?
my @args = ( "bash", "-c", "diff <(ls -l) <(ls -al)" ); system(@args);