> I tried to use option 'pipefail' but get:
> 
> # perl -e 'system("set -o pipefail;false | true");print $?>>8,"\n"'
> set: 1: Illegal option -o pipefail
Seems perl use /bin/sh (instead of /bin/bash), although I set $ENV{SHELL}="/bin/bash";
how can is set the default shell in perl?