One through the shell with the command and its parameters in one single scalar system('echo $LANG'); for example.
One without the shell, with the command and its parameters in a list. like system('echo','$LANG');
With this second form, the command echo will print '$LANG' without any resolution of the variable LANG.
Can I get these two different ways , and how if yes, with the qx syntax : qx {echo $LANG} ?
Thanks to you!In reply to system() and qx comparison by didess
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |