in reply to Using Subroutine Returns
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');
|
|---|