There's more than one way to do things | |
PerlMonks |
Re^3: text has single and double quotes and anychar. how to assign this text?by GotToBTru (Prior) |
on Aug 20, 2015 at 13:55 UTC ( [id://1139311]=note: print w/replies, xml ) | Need Help?? |
The interpolation will happen with the heredoc. Or, make up your own convention, something that will not appear in the text itself, and use s///.
Output:
In Section
Seekers of Perl Wisdom
|
|