{
    "mode": "perldoc",
    "parameter": "Text::Autoformat",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Text%3A%3AAutoformat/json",
    "generated": "2026-10-07T21:07:06Z",
    "synopsis": "# Minimal use: read from STDIN, format to STDOUT...\nuse Text::Autoformat;\nautoformat;\n# In-memory formatting...\n$formatted = autoformat $rawtext;\n# Configuration...\n$formatted = autoformat $rawtext, { %options };\n# Margins (1..72 by default)...\n$formatted = autoformat $rawtext, { left=>8, right=>70 };\n# Justification (left by default)...\n$formatted = autoformat $rawtext, { justify => 'left' };\n$formatted = autoformat $rawtext, { justify => 'right' };\n$formatted = autoformat $rawtext, { justify => 'full' };\n$formatted = autoformat $rawtext, { justify => 'centre' };\n# Filling (does so by default)...\n$formatted = autoformat $rawtext, { fill=>0 };\n# Squeezing whitespace (does so by default)...\n$formatted = autoformat $rawtext, { squeeze=>0 };\n# Select appropriate tabspacing (default is 8 spaces per tab):\n$formatted = autoformat $rawtext, { tabspace=>4 };\n# Case conversions...\n$formatted = autoformat $rawtext, { case => 'lower' };\n$formatted = autoformat $rawtext, { case => 'upper' };\n$formatted = autoformat $rawtext, { case => 'sentence' };\n$formatted = autoformat $rawtext, { case => 'title' };\n$formatted = autoformat $rawtext, { case => 'highlight' };\n$formatted = autoformat $rawtext, { case => \\&mycasefunc };\n# Selective reformatting\n$formatted = autoformat $rawtext, { ignore=>qr/^\\t/ };",
    "sections": {
        "NAME": {
            "content": "Text::Autoformat - Automatic text wrapping and reformatting\n",
            "subsections": []
        },
        "VERSION": {
            "content": "This document describes version 1.72 of Text::Autoformat\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "# Minimal use: read from STDIN, format to STDOUT...\n\nuse Text::Autoformat;\nautoformat;\n\n# In-memory formatting...\n\n$formatted = autoformat $rawtext;\n\n# Configuration...\n\n$formatted = autoformat $rawtext, { %options };\n\n# Margins (1..72 by default)...\n\n$formatted = autoformat $rawtext, { left=>8, right=>70 };\n\n# Justification (left by default)...\n\n$formatted = autoformat $rawtext, { justify => 'left' };\n$formatted = autoformat $rawtext, { justify => 'right' };\n$formatted = autoformat $rawtext, { justify => 'full' };\n$formatted = autoformat $rawtext, { justify => 'centre' };\n\n# Filling (does so by default)...\n\n$formatted = autoformat $rawtext, { fill=>0 };\n\n# Squeezing whitespace (does so by default)...\n\n$formatted = autoformat $rawtext, { squeeze=>0 };\n\n# Select appropriate tabspacing (default is 8 spaces per tab):\n\n$formatted = autoformat $rawtext, { tabspace=>4 };\n\n# Case conversions...\n\n$formatted = autoformat $rawtext, { case => 'lower' };\n$formatted = autoformat $rawtext, { case => 'upper' };\n$formatted = autoformat $rawtext, { case => 'sentence' };\n$formatted = autoformat $rawtext, { case => 'title' };\n$formatted = autoformat $rawtext, { case => 'highlight' };\n$formatted = autoformat $rawtext, { case => \\&mycasefunc };\n\n# Selective reformatting\n\n$formatted = autoformat $rawtext, { ignore=>qr/^\\t/ };\n",
            "subsections": []
        },
        "BACKGROUND": {
            "content": "",
            "subsections": [
                {
                    "name": "The problem",
                    "content": "Perl plaintext formatters just aren't smart enough. Given a typical piece of plaintext in need\nof formatting:\n\nIn comp.lang.perl.misc you wrote:\n: > <CN = Clooless Noobie> writes:\n: > CN> PERL sux because:\n: > CN>    * It doesn't have a switch statement and you have to put $\n: > CN>signs in front of everything\n: > CN>    * There are too many OR operators: having |, || and 'or'\n: > CN>operators is confusing\n: > CN>    * VB rools, yeah!!!!!!!!!\n: > CN> So anyway, how can I stop reloads on a web page?\n: > CN> Email replies only, thanks - I don't read this newsgroup.\n: >\n: > Begone, sirrah! You are a pathetic, Bill-loving, microcephalic\n: > script-infant.\n: Sheesh, what's with this group - ask a question, get toasted! And how\n: *dare* you accuse me of Ianuphilia!\n\nboth the venerable Unix fmt tool and Perl's standard Text::Wrap module produce:\n\nIn comp.lang.perl.misc you wrote:  : > <CN = Clooless Noobie>\nwrites:  : > CN> PERL sux because:  : > CN>    * It doesn't\nhave a switch statement and you have to put $ : > CN>signs in\nfront of everything : > CN>    * There are too many OR\noperators: having |, || and 'or' : > CN>operators is confusing\n: > CN>    * VB rools, yeah!!!!!!!!!  : > CN> So anyway, how\ncan I stop reloads on a web page?  : > CN> Email replies only,\nthanks - I don't read this newsgroup.  : > : > Begone, sirrah!\nYou are a pathetic, Bill-loving, microcephalic : >\nscript-infant.  : Sheesh, what's with this group - ask a\nquestion, get toasted! And how : *dare* you accuse me of\nIanuphilia!\n\nOther formatting modules -- such as Text::Correct and Text::Format -- provide more control over\ntheir output, but produce equally poor results when applied to arbitrary input. They simply\ndon't understand the structural conventions of the text they're reformatting.\n"
                },
                {
                    "name": "The solution",
                    "content": "The Text::Autoformat module provides a subroutine named \"autoformat\" that wraps text to\nspecified margins. However, \"autoformat\" reformats its input by analysing the text's structure,\nso it wraps the above example like so:\n\nIn comp.lang.perl.misc you wrote:\n: > <CN = Clooless Noobie> writes:\n: > CN> PERL sux because:\n: > CN>    * It doesn't have a switch statement and you\n: > CN>      have to put $ signs in front of everything\n: > CN>    * There are too many OR operators: having |, ||\n: > CN>      and 'or' operators is confusing\n: > CN>    * VB rools, yeah!!!!!!!!! So anyway, how can I\n: > CN>      stop reloads on a web page? Email replies\n: > CN>      only, thanks - I don't read this newsgroup.\n: >\n: > Begone, sirrah! You are a pathetic, Bill-loving,\n: > microcephalic script-infant.\n: Sheesh, what's with this group - ask a question, get toasted!\n: And how *dare* you accuse me of Ianuphilia!\n\nNote that the various quoting conventions have been observed. In fact, their structure has been\nused to determine where some paragraphs begin. Furthermore \"autoformat\" correctly distinguished\nbetween the leading '*' bullets of the nested list (which were outdented) and the leading\nemphatic '*' of \"*dare*\" (which was inlined).\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "",
            "subsections": [
                {
                    "name": "Paragraphs",
                    "content": "The fundamental task of the \"autoformat\" subroutine is to identify and rearrange independent\nparagraphs in a text. Paragraphs typically consist of a series of lines containing at least one\nnon-whitespace character, followed by one or more lines containing only optional whitespace.\nThis is a more liberal definition than many other formatters use: most require an empty line to\nterminate a paragraph. Paragraphs may also be denoted by bulleting, numbering, or quoting (see\nthe following sections).\n\nOnce a paragraph has been isolated, \"autoformat\" fills and re-wraps its lines according to the\nmargins that are specified in its argument list. These are placed after the text to be\nformatted, in a hash reference:\n\n$tidied = autoformat($messy, {left=>20, right=>60});\n\nBy default, \"autoformat\" uses a left margin of 1 (first column) and a right margin of 72.\n\nYou can also control whether (and how) \"autoformat\" breaks words at the end of a line, using the\n'break' option:\n\n# Turn off all hyphenation\nuse Text::Autoformat qw(autoformat breakwrap);\n$tidied = autoformat($messy, {break=>breakwrap});\n\n# Default hyphenation\nuse Text::Autoformat qw(autoformat breakat);\n$tidied = autoformat($messy, {break=>breakat('-')});\n\n# Use TeX::Hyphen module's hyphenation (module must be installed)\nuse Text::Autoformat qw(autoformat breakTeX);\n$tidied = autoformat($messy, {break=>breakTeX});\n\nNormally, \"autoformat\" only reformats the first paragraph it encounters, and leaves the\nremainder of the text unaltered. This behaviour is useful because it allows a one-liner invoking\nthe subroutine to be mapped onto a convenient keystroke in a text editor, to provide\none-paragraph-at-a-time reformatting:\n\n% cat .exrc\n\nmap f !Gperl -MText::Autoformat -e'autoformat'\n\n(Note that to facilitate such one-liners, if \"autoformat\" is called in a void context without\nany text data, it takes its text from \"STDIN\" and writes its result to \"STDOUT\").\n\nTo enable \"autoformat\" to rearrange the entire input text at once, the \"all\" argument is used:\n\n$tidiedall = autoformat($messy, {left=>20, right=>60, all=>1});\n\n\"autoformat\" can also be directed to selectively reformat paragraphs, using the \"ignore\"\nargument:\n\n$tidiedsome = autoformat($messy, {ignore=>qr/^[ \\t]/});\n\nThe value for \"ignore\" may be a \"qr\"'d regex, a subroutine reference, or the special string\n'indented'.\n\nIf a regex is specified, any paragraph whose original text matches that regex will not be\nreformatted (i.e. it will be printed verbatim).\n\nIf a subroutine is specified, that subroutine will be called once for each paragraph (with $\nset to the paragraph's text). The subroutine is expected to return a true or false value. If it\nreturns true, the paragraph will not be reformatted.\n\nIf the value of the \"ignore\" option is the string 'indented', \"autoformat\" will ignore any\nparagraph in which *every* line begins with a whitespace.\n\nYou may also specify multiple \"ignore\" options by including them in an array-ref:\n\n$tidiedmesg = autoformat($messy, {ignore=>[qr/1/,'indented']});\n\nOne other special case of ignorance is ignoring mail headers and signature. This option is\nspecified using the \"mail\" argument:\n\n$tidiedmesg = autoformat($messymesg, {mail=>1});\n\nNote that the \"ignore\" or \"mail\" options automatically imply \"all\".\n\nBulleting and (re-)numbering\nOften plaintext will include lists that are either:\n\n* bulleted,\n* simply numbered (i.e. 1., 2., 3., etc.), or\n* hierarchically numbered (1, 1.1, 1.2, 1.3, 2, 2.1. and so forth).\n\nIn such lists, each bulleted item is implicitly a separate paragraph, and is formatted\nindividually, with the appropriate indentation:\n\n* bulleted,\n* simply numbered (i.e. 1., 2., 3.,\netc.), or\n* hierarchically numbered (1, 1.1,\n1.2, 1.3, 2, 2.1. and so forth).\n\nMore importantly, if the points are numbered, the numbering is checked and reordered. For\nexample, a list whose points have been rearranged:\n\n1. Analyze problem\n3. Design algorithm\n1. Code solution\n5. Test\n4. Ship\n\nwould be renumbered automatically by \"autoformat\":\n\n1. Analyze problem\n2. Design algorithm\n3. Code solution\n4. Test\n5. Ship\n\nThe same reordering would be performed if the \"numbering\" was by letters (\"a.\" \"b.\" \"c.\" etc.)\nor Roman numerals (\"i.\" \"ii.\" \"iii.)\" or by some combination of these (\"1a.\" \"1b.\" \"2a.\" \"2b.\"\netc.) Handling disordered lists of letters and Roman numerals presents an interesting challenge.\nA list such as:\n\nA. Put cat in box.\nD. Close lid.\nE. Activate Geiger counter.\n\nshould be reordered as \"A.\" \"B.\" \"C.,\" whereas:\n\nI. Put cat in box.\nD. Close lid.\nXLI. Activate Geiger counter.\n\nshould be reordered \"I.\" \"II.\" \"III.\"\n\nThe \"autoformat\" subroutine solves this problem by always interpreting alphabetic bullets as\nbeing letters, unless the full list consists only of valid Roman numerals, at least one of which\nis two or more characters long.\n\nNote that renumbering starts at the first number actually given, rather than restarting at the\nfirst possible number. To renumber from 1 (or A.) you must change the first numbered bullet to\nthat.\n\nIf automatic renumbering isn't wanted, just specify the 'renumber' option with a false value.\n\nNote that normal numbers above 1000 at the start of a line are no longer considered to be\nparagraph numbering. Numbered paragraphs running that high are exceptionally rare, and much\nrarer than paragraphs that look like these:\n\nAlthough it has long been popular (especially in the year\n2001) to point out that we now live in the Future, many\nof the promised miracles of Future Life have failed to\neventuate. This is a new phenomenon (it didn't happen in\n1001) because the idea that the future might be different\nis a new phenomenon.\n\nwhich the former numbering rules caused to be formatted like this:\n\nAlthough it has long been popular (especially in the year\n\n2001) to point out that we now live in the Future, many of the\npromised miracles of Future Life have failed to eventuate.\nThis is a new phenomenon (it didn't happen in\n\n2002) because the idea that the future might be different is a\nnew phenomenon.\n\nbut which are now formatted:\n\nAlthough it has long been popular (especially in the year 2001)\nto point out that we now live in the Future, many of the\npromised miracles of Future Life have failed to eventuate. This\nis a new phenomenon (it didn't happen in 1001) because the idea\nthat the future might be different is a new phenomenon.\n\nIf you want numbers less than 1000 (or other characters strings currently treated as bullets) to\nbe ignored in this way, you can turn of list formatting entirely by setting the 'lists' option\nto a false value.\n\nYou can also select which kinds of lists are recognized, by using a string as the value of\nlists:\n\n# Don't recognize Roman numerals or alphabetics as list markers...\nautoformat { lists => 'number, bullet' }, $text;\n\n# Don't recognize bullets or numbers as list markers...\nautoformat { lists => 'roman, alpha' }, $text;\n\n# Recognize everything except Roman numerals as list markers...\nautoformat { lists => 'number, bullet, alpha' }, $text;\n\nThe string should contain one or more of the following words: \"number\", \"bullet\", \"alpha\",\n\"roman\". autoformat() will ignore any list type that doesn't appear in the 'lists' string.\n"
                },
                {
                    "name": "Quoting",
                    "content": "Another case in which contiguous lines may be interpreted as belonging to different paragraphs,\nis where they are quoted with distinct quoters. For example:\n\n: > CN> So anyway, how can I stop reloads on a web page? Email\n: > CN> replies only, thanks - I don't read this newsgroup.\n: > Begone, sirrah! You are a pathetic, Bill-loving,\n: > microcephalic script-infant.\n: Sheesh, what's with this group - ask a question, get toasted!\n: And how *dare* you accuse me of Ianuphilia!\n\n\"autoformat\" recognizes the various quoting conventions used in this example and treats it as\nthree paragraphs to be independently reformatted.\n\nYou may also override the default set of recognized quoters by specifying a 'quoter' argument\nwhen calling autoformat(). For example, to format lines such as:\n\n// This is a comment\n// in the standard C(++)\n// comment-to-EOL\n// format\n\nspecify:\n\nautoformat($text, { quoter =E<gt> qr{//} })\n\nInstead of completely replacing the existing set of quoters, you can *extend* them by specifying\na pattern that includes the metasequence \"<QUOTER>\", which is then replaced by the module's\nstandard pattern for quoters. So, for example, to add \"//\" to the set of existing quoters:\n\nautoformat($text, { quoter =E<gt> qr{//|<QUOTER>} })\n\nBlock quotations present a different challenge. A typical formatter would render the following\nquotation:\n\n\"We are all of us in the gutter, but some of us are looking at\nthe stars\"\n-- Oscar Wilde\n\nlike so:\n\n\"We are all of us in the gutter, but some of us are looking at\nthe stars\" -- Oscar Wilde\n\n\"autoformat\" recognizes the quotation structure by matching the following regular expression\nagainst the text component of each paragraph:\n\n/ \\A(\\s*) # leading whitespace for quotation ([\"']|``) # opening\nquotemark (.*) # quotation (''|\\2) # closing quotemark \\s*?\\n #\ntrailing whitespace after quotation (\\1[ ]+) # leading\nwhitespace for attribution\n#   (must be indented more than\n#   quotation)\n(--|-) # attribution introducer ([^\\n]*?\\n) # first\nattribution line ((\\5[^\\n]*?$)*) # other attribution lines\n#   (indented no less than first line)\n\\s*\\Z # optional whitespace to end of paragraph /xsm\n\nWhen reformatted (see below), the indentation and the attribution structure will be preserved:\n\n\"We are all of us in the gutter, but some of us are looking\nat the stars\"\n-- Oscar Wilde\n"
                },
                {
                    "name": "Widow control",
                    "content": "Note that in the last example, \"autoformat\" broke the line at column 68, four characters earlier\nthan it should have. It did so because, if the full margin width had been used, the formatting\nwould have left the last two words by themselves on an oddly short last line:\n\n\"We are all of us in the gutter, but some of us are looking at\nthe stars\"\n\nThis phenomenon is known as \"widowing\" and is heavily frowned upon in typesetting circles. It\nlooks ugly in plaintext too, so \"autoformat\" avoids it by stealing extra words from earlier\nlines in a paragraph, so as to leave enough for a reasonable last line. The heuristic used is\nthat final lines must be at least 10 characters long (though this number may be adjusted by\npassing a \"widow => *minlength*\" argument to \"autoformat\").\n\nIf the last line is too short, the paragraph's right margin is reduced by one column, and the\nparagraph is reformatted. This process iterates until either the last line exceeds nine\ncharacters or the margins have been narrowed by 10% of their original separation. In the latter\ncase, the reformatter gives up and uses its original formatting.\n"
                },
                {
                    "name": "Justification",
                    "content": "The \"autoformat\" subroutine also takes a named argument: \"{justify => *type*}\", which specifies\nhow each paragraph is to be justified. The options are: 'left' (the default), \"'right',\"\n'centre' (or 'center'), and 'full'. These act on the complete paragraph text (but *not* on any\nquoters before that text). For example, with 'right' justification:\n\nR3>     Now is the Winter of our discontent made\nR3> glorious Summer by this son of York. And all\nR3> the clouds that lour'd upon our house In the\nR3>              deep bosom of the ocean buried.\n\nFull justification is interesting in a fixed-width medium like plaintext because it usually\nresults in uneven spacing between words. Typically, formatters provide this by distributing the\nextra spaces into the first available gaps of each line:\n\nR3> Now  is  the  Winter  of our discontent made\nR3> glorious Summer by this son of York. And all\nR3> the  clouds  that  lour'd  upon our house In\nR3> the deep bosom of the ocean buried.\n\nThis produces a rather jarring visual effect, so \"autoformat\" reverses the strategy and inserts\nextra spaces at the end of lines:\n\nR3> Now is the  Winter of  our  discontent  made\nR3> glorious Summer by this son of York. And all\nR3> the clouds that lour'd  upon  our  house  In\nR3> the deep bosom of the ocean buried.\n\nMost readers find this less disconcerting.\n"
                },
                {
                    "name": "Implicit centring",
                    "content": "Even if explicit centring is not specified, \"autoformat\" will attempt to automatically detect\ncentred paragraphs and preserve their justification. It does this by examining each line of the\nparagraph and asking: \"if this line were part of a centred paragraph, where would the centre\nline have been?\"\n\nThe answer can be determined by adding the length of leading whitespace before the first word,\nplus half the length of the full set of words on the line. That is, for a single line:\n\n$line =~ /^(\\s*)(.*?)(\\s*)$/ $centre =\nlength($1)+0.5*length($2);\n\nBy making the same estimate for every line, and then comparing the estimates, it is possible to\ndeduce whether all the lines are centred with respect to the same axis of symmetry (with an\nallowance of ±1 to cater for the inevitable rounding when the centre positions of even-length\nrows were originally computed). If a common axis of symmetry is detected, \"autoformat\" assumes\nthat the lines are supposed to be centred, and switches to centre-justification mode for that\nparagraph.\n\nNote that this behaviour can to switched off entirely by setting the \"autocentre\" argument\nfalse.\n"
                },
                {
                    "name": "Case transformations",
                    "content": "The \"autoformat\" subroutine can also optionally perform case conversions on the text it\nprocesses. The \"{case => *type*}\" argument allows the user to specify six different conversions:\n\n'upper'\nThis mode unconditionally converts every letter in the reformatted text to upper-case;\n\n'lower'\nThis mode unconditionally converts every letter in the reformatted text to lower-case;\n\n'sentence'\nThis mode attempts to generate correctly-cased sentences from the input text. That is, the\nfirst letter after a sentence-terminating punctuator is converted to upper-case. Then, each\nsubsequent word in the sentence is converted to lower-case, unless that word is originally\nmixed-case or contains punctuation. For example, under \"{case => 'sentence'}\":\n\n'POVERTY, MISERY, ETC. are the lot of the PhD candidate. alas!'\n\nbecomes:\n\n'Poverty, misery, etc. are the lot of the PhD candidate. Alas!'\n\nNote that \"autoformat\" is clever enough to recognize that the period after abbreviations\nsuch as \"etc.\" is not a sentence terminator.\n\nIf the argument is specified as 'sentence ' (with one or more trailing whitespace\ncharacters) those characters are used to replace the single space that appears at the end of\nthe sentence. For example, \"autoformat($text, {case=>'sentence '}\") would produce:\n\n'Poverty, misery, etc. are the lot of the PhD candidate. Alas!'\n\n'title'\nThis mode behaves like 'sentence' except that the first letter of *every* word is\ncapitalized:\n\n'What I Did On My Summer Vacation In Monterey'\n\n'highlight'\nThis mode behaves like 'title' except that trivial words are not capitalized:\n\n'What I Did on my Summer Vacation in Monterey'\n\n\"sub{...}\"\nIf the argument for 'case' is a subroutine reference, that subroutine is applied to each\nword and the result replaces the word in the text.\n\nFor example, to convert a string to hostage-case:\n\nmy $ransomnote = sub {\nreturn join \"\",                    # ^  Reconcatenate\nmap {/[aeiou]/i ? lc : uc}  # |  uPPeR aND LoWeR each\nsplit //,                   # |  Break into chars\nshift;                      # |  Take argument\n};\n\n$text = autoformat($text, {case => $ransomnote });\n# \"FoR eXaMPLe, To CoNVeRT a STRiNG To HoSTaGe-CaSe:\"\n\nOr to highlight particular words:\n\nmy @SPECIAL = qw( perl camel wall );\nsub highlightspecials {\nmy ($word) = @;\nreturn $word ~~ @SPECIAL ? uc($word) : $word;\n}\n\n$text = autoformat($text, {case => \\&highlightspecials});\n# \"It is easier for a CAMEL to pass through a WALL of PERL...\"\n"
                },
                {
                    "name": "Selective reformatting",
                    "content": "You can select which paragraphs \"autoformat\" actually reformats (or, rather, those it *doesn't*\nreformat) using the \"ignore\" flag.\n\nFor example:\n\n# Reformat all paras except those containing \"verbatim\"...\nprint autoformat { all => 1, ignore => qr/verbatim/i }, $text;\n\n# Reformat all paras except those less that 3 lines long...\nprint autoformat { all => 1, ignore => sub { tr/\\n/\\n/ < 3\n} }, $text;\n\n# Reformat all paras except those that are indented...\nprint autoformat { all => 1, ignore => qr/^\\s/m }, $text;\n\n# Reformat all paras except those that are indented (easier)...\nprint autoformat { all => 1, ignore => 'indented' }, $text;\n"
                },
                {
                    "name": "Handling tabs",
                    "content": "Text::Autoformat replaces any tabs in the text it's formatting with the appropriate number of\nspaces (using Text::Tabs to do its dirty work). It normally assumes that each tab is equivalent\nto 8 space characters, but you can change that default using the 'tabspace' option:\n\nprint autoformat { tabspace => 4 }, $text;\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "Text::Reform - provides functions for manual text wrapping and reformatting.\n\nText::Aligner - provides a single function for justifying strings according to various styles.\n\nText::Format - a class that provides methods for formatting text in various ways.\n\nData::Formatter::Text - format various Perl data structures as text, in different ways according\nto the type of data.\n",
            "subsections": []
        },
        "REPOSITORY": {
            "content": "<https://github.com/neilb/Text-Autoformat>\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Damian Conway (damian@conway.org)\n",
            "subsections": []
        },
        "BUGS": {
            "content": "There are undoubtedly serious bugs lurking somewhere in code this funky :-) Bug reports and\nother feedback are most welcome.\n",
            "subsections": []
        },
        "LICENCE AND COPYRIGHT": {
            "content": "Copyright (c) 1997-2007, Damian Conway \"<DCONWAY@CPAN.org>\". All rights reserved.\n\nThis module is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself. See perlartistic.\n",
            "subsections": []
        },
        "DISCLAIMER OF WARRANTY": {
            "content": "BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE\nEXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nSOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY\nSERVICING, REPAIR, OR CORRECTION.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER,\nOR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE\nLICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT\nLIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR\nOTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n",
            "subsections": []
        }
    },
    "summary": "Text::Autoformat - Automatic text wrapping and reformatting",
    "flags": [],
    "examples": [],
    "see_also": []
}