You can also make concatenation implicit by getting the sum to evaluate inside interpolating quotes:
Some people hate that, but I think it adds flavor,my $x = "Expected value is ${\($y + 2)}";
After Compline,
Zaxo
In reply to Re: declare string with addition of two variables
by Zaxo
in thread declare string with addition of two variables
by phemal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |