Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'd add that you also need to know what constitutes a section/chapter title, both for centering and building your TOC.
I'd suggest regular expressions for this -- look at what's common on all the chapters of interest. Regular expressions will also likely be helpful in other parts of your task . . . And, you should look at printf/sprintf. Good luck!
----------------- s''limp';@p=split '!','n!h!p!';s,m,s,;$s=y;$c=slice @p1;so brutally;d;$n=reverse;$c=$s**$#p;print(''.$c^chop($n))while($c/=$#p)>=1; In reply to Re: Formatting Text
by SamCG
|
|