in reply to Re^2: Strange behavior
in thread Strange behavior

What interpolation???

In short:

In the first snippet, you are concatenating $foo with $foo, so that's what you get.

In the second snippet, you are concatenating something derived from $foo and $foo, so that's what you get.