Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: question on Text::Autoformat

by jbrugger (Parson)
on Jan 27, 2006 at 06:11 UTC ( [id://525909]=note: print w/replies, xml ) Need Help??


in reply to question on Text::Autoformat

I'm no expert on Text::Autoformat, but as i read it correctly, your margins aren't correct.
try: autoformat($rawtext, {left=>0, right=>130}); And see if it suits your needs

Or if it's only this line, you might ignore it:
# Reformat all paras except those containing "File not found"... print autoformat { all => 1, ignore => qr/File not found/i }, $rawtext +;


"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-19 05:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found