Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Formatting Text

by SamCG (Hermit)
on May 12, 2006 at 18:46 UTC ( #549090=note: print w/replies, xml ) Need Help??


in reply to Formatting Text

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;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://549090]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2022-01-19 01:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (54 votes). Check out past polls.

    Notices?