Welcome to the Monastery | |
PerlMonks |
Re: Sort text by Chapter namesby Your Mother (Archbishop) |
on May 24, 2018 at 05:36 UTC ( [id://1215129]=note: print w/replies, xml ) | Need Help?? |
Most definitely possible. It sounds like homework though. Have you tried writing any code? A successful approach is going to collect/match/parse the data into blocks of chapter + its text in an array, or an array of hashes, and then use the chapter in a sort block. You can search here or online for multi-line matching and sorting. If you show some code, you'll most definitely get help with improving it.
In Section
Seekers of Perl Wisdom
|
|