in reply to Re^2: invoking umask command in perl
in thread invoking umask command in perl
And it works as well. What you are trying to do corresponds rather to this terminal session:perl -e 'print `bash -c "umask 0037 ; umask"`'
which, clearly, does not do what you want.umask 0037 exit umask
|
|---|