Content deleted Content added
Jens Meiert (talk | contribs) m Switched to “repeat” |
Novemellow (talk | contribs) Make the main example valid code |
||
Line 3:
String interpolation is an alternative to building string via [[concatenation]], which requires repeat quoting and unquoting;<ref>{{Cite web|url=http://perlmeme.org/howtos/using_perl/interpolation.html|title = Interpolation in Perl |quote="This is much tidier than repeat uses of the '.' concatenation operator."}}</ref> or substituting into a [[printf format string]], where the variable is far from where it is used. Compare:
<syntaxhighlight lang="
apples = 4
</syntaxhighlight>
|