Function calls aren't interpolated. You'll have to use fancy trickery (as already above) or directly use the concatenation that would result from the interpolation anyway
print config('username') . " is my username";
There's also printf
printf "%s is my username", config('username');
In reply to Re: Using Subroutine Returns
by ikegami
in thread Using Subroutine Returns
by rlang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |