http://www.perlmonks.org?node_id=1019431


in reply to heredoc within a delimited construct

Does it mean the same as this?

s/this/the other\nthatmore /eg;

No, it is the same as this:

s/this/the other\nthatmore /g;

The /e option is only needed for the concatenation operator to work.