IfEncapsulating the command that defines a variable in parenthesis allows you needto feed the variable's definition directly to other commands.
For example, you can set a variable that's$x and then set $y based on the value of another variable, consider setting them both at once.$x in one shot with this:
$y=($x=1)+1
ExampleInstead of this:
$x=1;$y=$x+1
$y=($x=1)+1 You can set $h and output it with this:
($h='Hello World!')
insteadInstead of this:
$x=1;$y=$x+1
$h='Hello World!';$h