The e modifier is used if you want the right-hand side of the substitution to be evaluated as code,
instead of being treated as a string. For example,
That will replace anything that looks like a Perl scalar variable with the contents of that variable.
This is extremely useful for embedding values in a text file.
Let us look at this example more closely: