Think about Loose Coupling | |
PerlMonks |
Re: how to escape new line in a stringby Athanasius (Archbishop) |
on Jun 16, 2019 at 08:37 UTC ( [id://11101426]=note: print w/replies, xml ) | Need Help?? |
Hello nica, If you look carefully at this line:
you will see that you are adding the newlines yourself! Here is one approach that does what you want:
Output:
Hope that helps,
In Section
Seekers of Perl Wisdom
|
|