Rather than summing the result in one line and printing it in another line?
If I have this data
my $a = 1;
my $b = 2;
Currently, if I want to print the sum result, I need to write the code like this
my $tmp = $a+$b;
print "result=$tmp\n";
Is there to the same as above by something looking similar to
print "result=$a+$b\n";
Yes;