|
|
| No such thing as a small change | |
| PerlMonks |
Re^4: Storing multiple blocks of text in the __DATA__ sectionby blindluke (Hermit) |
| on Jan 03, 2015 at 13:53 UTC ( [id://1112056]=note: print w/replies, xml ) | Need Help?? |
|
Although, as LanX already noticed, my descriptions can contain several paragraphs, thank you for suggesting paragraph mode. Your solution is both simple and elegant. And the technique with encoding line breaks could indeed work. I would switch the two regexps, so there is no need to assign the capture value to $key, and I would use the \\ linebreak symbol, as it is already associated with manual linebreak (in LaTeX).
Again, thank you for your suggestion and the provided examples. - Luke
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||