CINXE.COM

Text::Wrap - line wrapping to form simple paragraphs - metacpan.org

<!DOCTYPE html> <html lang="en-US"> <head> <title>Text::Wrap - line wrapping to form simple paragraphs - metacpan.org</title> <link rel="preload" as="fetch" href="/account/login_status" crossorigin="anonymous" /> <link href="/assets/style-XFEQ536G.css" rel="stylesheet" type="text/css"> <script src="/assets/main-WXBSEDQJ.js" type="module"></script> <link rel="alternate" type="application/rss+xml" title="Recent CPAN Uploads of Text-Tabs+Wrap - MetaCPAN" href="/dist/Text-Tabs+Wrap/releases.rss" /> <link rel="canonical" href="https://metacpan.org/pod/Text::Wrap" /> <meta name="description" content="line wrapping to form simple paragraphs" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5"> <link rel="shortcut icon" href="/static/icons/favicon.ico"> <link rel="apple-touch-icon" sizes="152x152" href="/static/icons/apple-touch-icon.png"> <link rel="search" href="/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN"> <script async src="https://perl-ads.perlhacks.com/perl-ads.js"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=G-E82Q2V8LVD"></script> <meta property="og:site_name" content="MetaCPAN" /> <meta name="twitter:site" content="@metacpan" /> <meta property="og:type" content="article" /> <meta name="twitter:card" content="summary" /> <meta property="og:url" content="https://metacpan.org/pod/Text::Wrap" /> <meta property="og:title" content="Text::Wrap" /> <meta property="og:description" content="line wrapping to form simple paragraphs" /> <meta property="og:image" content="https://metacpan.org/static/images/dots.png" /> </head> <body> <nav class="navbar navbar-default" role="navigation"> <div class="header-logo-large hidden-xs"> <a href="/" tabindex="0"> <svg class="logo" aria-label="MetaCPAN"> <use class="logo" href="/static/images/metacpan-logo.svg#logo" /> </svg> </a> </div> <div class="header-logo-icon visible-xs"> <a href="/"> <svg class="logo" aria-label="MetaCPAN"> <use class="logo" href="/static/images/metacpan-logo.svg#dots" /> </svg> </a> </div> <ul class="nav navbar-nav menu-items hidden-xs hidden-sm"> <li><a href="/about">About</a></li> <li><a href="/about/sponsors">Sponsor</a></li> <li><a href="https://grep.metacpan.org/">grep::cpan</a></li> <li><a href="/recent">Recent</a></li> <li><a href="/about/faq">FAQ</a></li> <li><a href="/tools">Tools</a></li> <li><a href="https://fastapi.metacpan.org/">API</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <button type="button" class="searchbar-btn visible-xs visible-sm"> <i class="fa fa-search button-fa-icon"></i> </button> <form action="/search" class="searchbar-form visible-md visible-lg search-form form-horizontal"> <input type="hidden" name="size" id="metacpan_search-size" value="20"> <div class="form-group"> <div class="search-group"> <i class="fa fa-search"></i> <input type="text" name="q" placeholder="Search the CPAN" size="41" autocorrect="off" autocapitalize="off" spellcheck="false" id="metacpan_search-input" class="form-control" value=""> </div> </div> </form> <li class="icon-slidepanel visible-xs visible-sm"> <button data-toggle="slidepanel" data-target=".slidepanel"> <span class="button-fa-icon"> <i class="fa fa-bars slidepanel-open"></i> <i class="fa fa-times slidepanel-close"></i> </span> </button> </li> <li class="dropdown login-dropdown show-logged-in"> <button type="button" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-user button-fa-icon logged-in-icon" aria-hidden="true"></i> <i class="fas fa-chevron-down"></i> </button> <ul class="dropdown-menu"> <li><a href="/account/identities">Identities</a></li> <li><a href="/account/profile">Profile</a></li> <li><a href="/account/favorite/list">Favorites</a></li> <li> <a href="#" type="button" class="logout-button"> Logout </a> </li> </ul> </li> <li class="dropdown login-dropdown show-logged-out"> <button type="button" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-user button-fa-icon avatar-placeholder" aria-hidden="true"></i> <i class="fas fa-chevron-down"></i> </button> <ul class="dropdown-menu"> <li> <a href="/login/github"> <i class="fab fa-github fa-fw"></i> GitHub </a> </li> <li> <a href="/login/twitter"> <i class="fab fa-twitter fa-fw"></i> Twitter </a> </li> <li> <a href="/login/google"> <i class="fab fa-google fa-fw"></i> Google </a> </li> </ul> </li> <li class="dropdown login-dropdown hide-logged-in hide-logged-out"> <button> <i class="fa fa-user button-fa-icon" aria-hidden="true"></i> </button> </li> </ul> </nav> <div class="page-content "> <div id="perl-ad-target" class="top-notify-banner perl-ad-target"> </div> <nav class="sidebar"> <div class="slidepanel"> <ul class="nav-list "> <li class="nav-header no-margin-top"> <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The date that this version of Text-Tabs+Wrap was released."> <span class="relatize">16 Feb 2024 20:34:01 UTC</span> </div> </li> <li> Distribution: <a href="/dist/Text-Tabs+Wrap">Text-Tabs+Wrap</a> </li> <li> Module version: 2024.001 </li> <li> <a data-keyboard-shortcut="g s" href="/dist/Text-Tabs+Wrap/source/lib.modern/Text/Wrap.pm">Source</a> (<a href="/dist/Text-Tabs+Wrap/source/lib.modern/Text/Wrap.pm?raw=1">raw</a>) </li> <li> <a data-keyboard-shortcut="g b" href="/dist/Text-Tabs+Wrap/source/lib.modern/Text">Browse</a> (<a href="/dist/Text-Tabs+Wrap/source/lib.modern/Text?raw=1">raw</a>) </li> <li> <a data-keyboard-shortcut="g c" href="/dist/Text-Tabs+Wrap/changes">Changes</a> </li> <li> <a class="nopopup" href="/dist/Text-Tabs+Wrap/contribute">How to Contribute</a> </li> <li> <a rel="noopener nofollow" data-keyboard-shortcut="g r" href="https://github.com/ap/Text-Tabs">Repository</a> </li> <li> <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="https://rt.cpan.org/Public/Dist/Display.html?Name=Text-Tabs%2BWrap">Issues</a> (2) </li> <li> <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=Text-Tabs%2BWrap+2024.001" title="Matrix">Testers</a> <span title="(pass / fail / na)">(<a rel="noopener nofollow" href="https://www.cpantesters.org/distro/T/Text-Tabs+Wrap.html?oncpan=1&amp;distmat=1&amp;version=2024.001&amp;grade=2" style="color: #090">658</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/T/Text-Tabs+Wrap.html?oncpan=1&amp;distmat=1&amp;version=2024.001&amp;grade=3" style="color: #900">0</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/T/Text-Tabs+Wrap.html?oncpan=1&amp;distmat=1&amp;version=2024.001&amp;grade=4">0</a>)</span> </li> <li> <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/ARISTOTLE/Text-Tabs+Wrap-2024.001">Kwalitee</a> </li> <li> <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on Text-Tabs+Wrap who have released something to CPAN in the last 2 years (i.e. the # people likely able to release critical fixes in a timely manner)"> Bus factor: 5 </div> </li> <li> License: unknown </li> <li> Perl: v5.6.1 </li> <li class="nav-header">Activity</li> <li> <div class="activity-graph"> <img src="/dist/Text-Tabs+Wrap/activity.svg?res=month" /> <div class="comment">24 month</div> </div> </li> <li class="nav-header">Tools</li> <li> <a itemprop="downloadUrl" href="https://cpan.metacpan.org/authors/id/A/AR/ARISTOTLE/Text-Tabs+Wrap-2024.001.tar.gz"> Download (<span itemprop="fileSize">16.96KB</span>)</a> </li> <li> <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FARISTOTLE%2FText-Tabs%2BWrap-2024.001%2Flib.modern%2FText%2FWrap.pm"> MetaCPAN Explorer </a> </li> <li> <a href="/dist/Text-Tabs+Wrap/permissions"> Permissions </a> </li> <li> <a href="/dist/Text-Tabs+Wrap/releases.rss"> Subscribe to distribution </a> </li> <li> <button class="btn btn-link" data-toggle="modal" data-target="#metacpan_install-instructions-dialog"> Install Instructions </button> </li> <li> <form action="/search"> <input type="hidden" name="q" value="dist:Text-Tabs+Wrap"> <input type="search" name="q" placeholder="Search distribution" class="form-control tool-bar-form"> <input type="submit" style="display: none"> </form> </li> <li> <form action="https://grep.metacpan.org/search"> <input type="hidden" name="qd" value="Text-Tabs+Wrap"> <input type="hidden" name="source" value="metacpan"> <input type="search" name="q" placeholder="grep distribution" class="form-control tool-bar-form"> <input type="submit" style="display: none"> </form> </li> <li class="version-jump"> <select class="select-navigator form-control tool-bar-form"> <option disabled selected>Jump to version</option> <option disabled value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/view/lib.modern/Text/Wrap.pm" >2024.001 (ARISTOTLE on 2024-02-16)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2013.0523/view/lib.modern/Text/Wrap.pm" >2013.0523 (MUIR on 2013-05-23)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2013.0522/view/lib.modern/Text/Wrap.pm" >2013.0522 (MUIR on 2013-05-23)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2013.0426/view/lib.modern/Text/Wrap.pm" >2013.0426 (MUIR on 2013-04-27)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2012.0818/view/lib.modern/Text/Wrap.pm" >2012.0818 (MUIR on 2012-08-18)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2012.0815/view/lib.modern/Text/Wrap.pm" >2012.0815 (MUIR on 2012-08-18)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2009.0305/view/lib.modern/Text/Wrap.pm" >2009.0305 (MUIR on 2009-03-06)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2006.1117/view/lib.modern/Text/Wrap.pm" >2006.1117 (MUIR on 2006-11-17)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2006.0711/view/lib.modern/Text/Wrap.pm" >2006.0711 (MUIR on 2006-07-11)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2006.0705/view/lib.modern/Text/Wrap.pm" >2006.0705 (MUIR on 2006-07-06)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2005.0824/view/lib.modern/Text/Wrap.pm" >2005.0824 (MUIR on 2005-08-24)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2001.0929/view/lib.modern/Text/Wrap.pm" >2001.0929 (MUIR on 2001-09-30)</option> <optgroup label="BackPAN">' <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2023.0511/view/lib.modern/Text/Wrap.pm" >2023.0511 (ARISTOTLE on 2023-05-10)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2023.0510/view/lib.modern/Text/Wrap.pm" >2023.0510 (ARISTOTLE on 2023-05-09)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2023.0509/view/lib.modern/Text/Wrap.pm" >2023.0509 (ARISTOTLE on 2023-05-09)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0814/view/lib.modern/Text/Wrap.pm" >2021.0814 (ARISTOTLE on 2021-08-14)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0813/view/lib.modern/Text/Wrap.pm" >2021.0813 (ARISTOTLE on 2021-08-13)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0808-TRIAL/view/lib.modern/Text/Wrap.pm" >2021.0808-TRIAL DEV (ARISTOTLE on 2021-08-08)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0804/view/lib.modern/Text/Wrap.pm" >2021.0804 (ARISTOTLE on 2021-08-04)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0726/view/lib.modern/Text/Wrap.pm" >2021.0726 (ARISTOTLE on 2021-07-26)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0725-TRIAL/view/lib.modern/Text/Wrap.pm" >2021.0725-TRIAL DEV (ARISTOTLE on 2021-07-23)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0724-TRIAL/view/lib.modern/Text/Wrap.pm" >2021.0724-TRIAL DEV (ARISTOTLE on 2021-07-22)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0723-TRIAL/view/lib.modern/Text/Wrap.pm" >2021.0723-TRIAL DEV (ARISTOTLE on 2021-07-22)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0722-TRIAL/view/lib.modern/Text/Wrap.pm" >2021.0722-TRIAL DEV (ARISTOTLE on 2021-07-21)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0717/view/lib.modern/Text/Wrap.pm" >2021.0717 (ARISTOTLE on 2021-07-17)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0712-TRIAL/view/lib.modern/Text/Wrap.pm" >2021.0712-TRIAL DEV (ARISTOTLE on 2021-07-12)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2018.0419-TRIAL/view/lib.modern/Text/Wrap.pm" >2018.0419-TRIAL DEV (ARISTOTLE on 2018-04-19)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2001.0131/view/lib.modern/Text/Wrap.pm" >2001.0131 (MUIR on 2001-02-01)</option> <option value="/release/MUIR/Text-Tabs+Wrap-98.112902/view/lib.modern/Text/Wrap.pm" >98.112902 (MUIR on 1998-11-29)</option> <option value="/release/MUIR/Text-Tabs+Wrap-98.112801/view/lib.modern/Text/Wrap.pm" >98.112801 (MUIR on 1998-11-28)</option> <option value="/release/MUIR/Text-Tabs+Wrap-96.050901/view/lib.modern/Text/Wrap.pm" >96.050901 (MUIR on 1997-08-26)</option> <option value="/release/MUIR/Text-Tabs+Wrap-97.011701/view/lib.modern/Text/Wrap.pm" >97.011701 (MUIR on 1997-01-18)</option> <option value="/release/MUIR/Text-Tabs+Wrap-96.121201/view/lib.modern/Text/Wrap.pm" >96.121201 (MUIR on 1996-12-13)</option> <option value="/release/MUIR/Text-Tabs+Wrap-96.090101/view/lib.modern/Text/Wrap.pm" >96.090101 (MUIR on 1996-09-02)</option> <option value="/release/MUIR/Text-Tabs+Wrap-96.082801/view/lib.modern/Text/Wrap.pm" >96.082801 (MUIR on 1996-08-29)</option> <option value="/release/MUIR/Text-Tabs+Wrap-96.051501/view/lib.modern/Text/Wrap.pm" >96.051501 (MUIR on 1996-05-16)</option> </optgroup> </select> </li> <li class="version-diff"> <select class="select-navigator form-control tool-bar-form"> <option disabled selected>Diff with version</option> <option disabled value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2024.001/lib.modern/Text/Wrap.pm" >2024.001 (ARISTOTLE on 2024-02-16)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-2013.0523/lib.modern/Text/Wrap.pm" >2013.0523 (MUIR on 2013-05-23)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-2013.0522/lib.modern/Text/Wrap.pm" >2013.0522 (MUIR on 2013-05-23)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-2013.0426/lib.modern/Text/Wrap.pm" >2013.0426 (MUIR on 2013-04-27)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-2012.0818/lib.modern/Text/Wrap.pm" >2012.0818 (MUIR on 2012-08-18)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-2012.0815/lib.modern/Text/Wrap.pm" >2012.0815 (MUIR on 2012-08-18)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-2009.0305/lib.modern/Text/Wrap.pm" >2009.0305 (MUIR on 2009-03-06)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-2006.1117/lib.modern/Text/Wrap.pm" >2006.1117 (MUIR on 2006-11-17)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-2006.0711/lib.modern/Text/Wrap.pm" >2006.0711 (MUIR on 2006-07-11)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-2006.0705/lib.modern/Text/Wrap.pm" >2006.0705 (MUIR on 2006-07-06)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-2005.0824/lib.modern/Text/Wrap.pm" >2005.0824 (MUIR on 2005-08-24)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-2001.0929/lib.modern/Text/Wrap.pm" >2001.0929 (MUIR on 2001-09-30)</option> <optgroup label="BackPAN">' <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2023.0511/lib.modern/Text/Wrap.pm" >2023.0511 (ARISTOTLE on 2023-05-10)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2023.0510/lib.modern/Text/Wrap.pm" >2023.0510 (ARISTOTLE on 2023-05-09)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2023.0509/lib.modern/Text/Wrap.pm" >2023.0509 (ARISTOTLE on 2023-05-09)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2021.0814/lib.modern/Text/Wrap.pm" >2021.0814 (ARISTOTLE on 2021-08-14)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2021.0813/lib.modern/Text/Wrap.pm" >2021.0813 (ARISTOTLE on 2021-08-13)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2021.0808-TRIAL/lib.modern/Text/Wrap.pm" >2021.0808-TRIAL DEV (ARISTOTLE on 2021-08-08)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2021.0804/lib.modern/Text/Wrap.pm" >2021.0804 (ARISTOTLE on 2021-08-04)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2021.0726/lib.modern/Text/Wrap.pm" >2021.0726 (ARISTOTLE on 2021-07-26)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2021.0725-TRIAL/lib.modern/Text/Wrap.pm" >2021.0725-TRIAL DEV (ARISTOTLE on 2021-07-23)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2021.0724-TRIAL/lib.modern/Text/Wrap.pm" >2021.0724-TRIAL DEV (ARISTOTLE on 2021-07-22)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2021.0723-TRIAL/lib.modern/Text/Wrap.pm" >2021.0723-TRIAL DEV (ARISTOTLE on 2021-07-22)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2021.0722-TRIAL/lib.modern/Text/Wrap.pm" >2021.0722-TRIAL DEV (ARISTOTLE on 2021-07-21)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2021.0717/lib.modern/Text/Wrap.pm" >2021.0717 (ARISTOTLE on 2021-07-17)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2021.0712-TRIAL/lib.modern/Text/Wrap.pm" >2021.0712-TRIAL DEV (ARISTOTLE on 2021-07-12)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/ARISTOTLE/Text-Tabs+Wrap-2018.0419-TRIAL/lib.modern/Text/Wrap.pm" >2018.0419-TRIAL DEV (ARISTOTLE on 2018-04-19)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-2001.0131/lib.modern/Text/Wrap.pm" >2001.0131 (MUIR on 2001-02-01)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-98.112902/lib.modern/Text/Wrap.pm" >98.112902 (MUIR on 1998-11-29)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-98.112801/lib.modern/Text/Wrap.pm" >98.112801 (MUIR on 1998-11-28)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-96.050901/lib.modern/Text/Wrap.pm" >96.050901 (MUIR on 1997-08-26)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-97.011701/lib.modern/Text/Wrap.pm" >97.011701 (MUIR on 1997-01-18)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-96.121201/lib.modern/Text/Wrap.pm" >96.121201 (MUIR on 1996-12-13)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-96.090101/lib.modern/Text/Wrap.pm" >96.090101 (MUIR on 1996-09-02)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-96.082801/lib.modern/Text/Wrap.pm" >96.082801 (MUIR on 1996-08-29)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/diff/MUIR/Text-Tabs+Wrap-96.051501/lib.modern/Text/Wrap.pm" >96.051501 (MUIR on 1996-05-16)</option> </optgroup> </select> </li> <li> <ul class="dependencies"> <li class="nav-header">Dependencies</li> <li><i>none</i></li> <li> <hr> </li> <li> <a href="/module/Text::Wrap/requires">Reverse dependencies</a> </li> <li> <a href="http://deps.cpantesters.org/?module=Text%3A%3AWrap">CPAN Testers List</a> </li> <li> <a href="https://cpandeps.grinnz.com/?dist=Text-Tabs%2BWrap">Dependency graph</a> </li> </ul> </li> <li class="nav-header">Permalinks</li> <li> <a href="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/view/lib.modern/Text/Wrap.pm">This version</a> </li> <li> <a href="/pod/Text::Wrap">Latest version</a> </li> <li> <div class="plussers"> <div class="nav-header">++ed by:</div> <div> <a class="display-all" href="/author/AYOUNG"><img src="https://www.gravatar.com/avatar/8d1e4946c288fbe87d1e0394f3e41b24?d=identicon&amp;s=20" title="AYOUNG" alt="AYOUNG"></a> <a class="display-all" href="/author/KEEDI"><img src="https://www.gravatar.com/avatar/95f905a7a4ccc573c711e9d264c0fde8?d=identicon&amp;s=20" title="KEEDI" alt="KEEDI"></a> <a class="display-all" href="/author/FSEITZ"><img src="https://www.gravatar.com/avatar/30373a86a1a90c0be73279eef625e87e?d=identicon&amp;s=20" title="FSEITZ" alt="FSEITZ"></a> <a class="display-all" href="/author/RRWO"><img src="https://www.gravatar.com/avatar/4a5274bc5d690ee3d619f044778771a7?d=identicon&amp;s=20" title="RRWO" alt="RRWO"></a> <a class="display-all" href="/author/NEMWS"><img src="https://www.gravatar.com/avatar/df49ff52f00a4a939d04d8df54608051?d=identicon&amp;s=20" title="NEMWS" alt="NEMWS"></a> </div> <!-- Display counts of plussers--> <div> <a href="/dist/Text-Tabs+Wrap/plussers">6 PAUSE users</a> </div> <div> 4 non-PAUSE users </div> </div> </li> <li> <div> <button class="contributors-show-button btn-link">and 1 contributors</button> <div id="metacpan_contributors" class="slide-out slide-out-hidden"> <div> <ul> <li class="contributor" data-contrib-email="muir@idiom.org" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" /> David Muir Sharnoff </li> </ul> </div> </div> </div> </li> </ul> </div> </nav> <div class="content-navigation"> <div class="breadcrumbs"> <span> <a data-keyboard-shortcut="g a" rel="author" href="/author/ARISTOTLE" class="author-name">Αριστοτέλης Παγκαλτζής</a> </span> <span>&nbsp;/&nbsp;</span> <div class="release dist-release status-latest maturity-released"> <span class="dropdown"><b class="caret"></b></span> <select class="select-navigator "> <option selected value="/release/ARISTOTLE/Text-Tabs+Wrap-2024.001/view/lib.modern/Text/Wrap.pm" >2024.001 (ARISTOTLE on 2024-02-16)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2013.0523/view/lib.modern/Text/Wrap.pm" >2013.0523 (MUIR on 2013-05-23)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2013.0522/view/lib.modern/Text/Wrap.pm" >2013.0522 (MUIR on 2013-05-23)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2013.0426/view/lib.modern/Text/Wrap.pm" >2013.0426 (MUIR on 2013-04-27)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2012.0818/view/lib.modern/Text/Wrap.pm" >2012.0818 (MUIR on 2012-08-18)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2012.0815/view/lib.modern/Text/Wrap.pm" >2012.0815 (MUIR on 2012-08-18)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2009.0305/view/lib.modern/Text/Wrap.pm" >2009.0305 (MUIR on 2009-03-06)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2006.1117/view/lib.modern/Text/Wrap.pm" >2006.1117 (MUIR on 2006-11-17)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2006.0711/view/lib.modern/Text/Wrap.pm" >2006.0711 (MUIR on 2006-07-11)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2006.0705/view/lib.modern/Text/Wrap.pm" >2006.0705 (MUIR on 2006-07-06)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2005.0824/view/lib.modern/Text/Wrap.pm" >2005.0824 (MUIR on 2005-08-24)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2001.0929/view/lib.modern/Text/Wrap.pm" >2001.0929 (MUIR on 2001-09-30)</option> <optgroup label="BackPAN">' <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2023.0511/view/lib.modern/Text/Wrap.pm" >2023.0511 (ARISTOTLE on 2023-05-10)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2023.0510/view/lib.modern/Text/Wrap.pm" >2023.0510 (ARISTOTLE on 2023-05-09)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2023.0509/view/lib.modern/Text/Wrap.pm" >2023.0509 (ARISTOTLE on 2023-05-09)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0814/view/lib.modern/Text/Wrap.pm" >2021.0814 (ARISTOTLE on 2021-08-14)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0813/view/lib.modern/Text/Wrap.pm" >2021.0813 (ARISTOTLE on 2021-08-13)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0808-TRIAL/view/lib.modern/Text/Wrap.pm" >2021.0808-TRIAL DEV (ARISTOTLE on 2021-08-08)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0804/view/lib.modern/Text/Wrap.pm" >2021.0804 (ARISTOTLE on 2021-08-04)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0726/view/lib.modern/Text/Wrap.pm" >2021.0726 (ARISTOTLE on 2021-07-26)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0725-TRIAL/view/lib.modern/Text/Wrap.pm" >2021.0725-TRIAL DEV (ARISTOTLE on 2021-07-23)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0724-TRIAL/view/lib.modern/Text/Wrap.pm" >2021.0724-TRIAL DEV (ARISTOTLE on 2021-07-22)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0723-TRIAL/view/lib.modern/Text/Wrap.pm" >2021.0723-TRIAL DEV (ARISTOTLE on 2021-07-22)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0722-TRIAL/view/lib.modern/Text/Wrap.pm" >2021.0722-TRIAL DEV (ARISTOTLE on 2021-07-21)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0717/view/lib.modern/Text/Wrap.pm" >2021.0717 (ARISTOTLE on 2021-07-17)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2021.0712-TRIAL/view/lib.modern/Text/Wrap.pm" >2021.0712-TRIAL DEV (ARISTOTLE on 2021-07-12)</option> <option value="/release/ARISTOTLE/Text-Tabs+Wrap-2018.0419-TRIAL/view/lib.modern/Text/Wrap.pm" >2018.0419-TRIAL DEV (ARISTOTLE on 2018-04-19)</option> <option value="/release/MUIR/Text-Tabs+Wrap-2001.0131/view/lib.modern/Text/Wrap.pm" >2001.0131 (MUIR on 2001-02-01)</option> <option value="/release/MUIR/Text-Tabs+Wrap-98.112902/view/lib.modern/Text/Wrap.pm" >98.112902 (MUIR on 1998-11-29)</option> <option value="/release/MUIR/Text-Tabs+Wrap-98.112801/view/lib.modern/Text/Wrap.pm" >98.112801 (MUIR on 1998-11-28)</option> <option value="/release/MUIR/Text-Tabs+Wrap-96.050901/view/lib.modern/Text/Wrap.pm" >96.050901 (MUIR on 1997-08-26)</option> <option value="/release/MUIR/Text-Tabs+Wrap-97.011701/view/lib.modern/Text/Wrap.pm" >97.011701 (MUIR on 1997-01-18)</option> <option value="/release/MUIR/Text-Tabs+Wrap-96.121201/view/lib.modern/Text/Wrap.pm" >96.121201 (MUIR on 1996-12-13)</option> <option value="/release/MUIR/Text-Tabs+Wrap-96.090101/view/lib.modern/Text/Wrap.pm" >96.090101 (MUIR on 1996-09-02)</option> <option value="/release/MUIR/Text-Tabs+Wrap-96.082801/view/lib.modern/Text/Wrap.pm" >96.082801 (MUIR on 1996-08-29)</option> <option value="/release/MUIR/Text-Tabs+Wrap-96.051501/view/lib.modern/Text/Wrap.pm" >96.051501 (MUIR on 1996-05-16)</option> </optgroup> </select> <a data-keyboard-shortcut="g d" class="release-name" href="/dist/Text-Tabs+Wrap">Text-Tabs+Wrap-2024.001</a> </div> <span class="river-gauge-gauge"> <svg width="24px" height="15px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g> <title> River stage five &#10; • 126 direct dependents &#10; • 33355 total dependents </title> <rect x="0" y="0" width="4" height="15" fill="#7ea3f2" /> <rect x="5" y="0" width="4" height="15" fill="#7ea3f2" /> <rect x="10" y="0" width="4" height="15" fill="#7ea3f2" /> <rect x="15" y="0" width="4" height="15" fill="#7ea3f2" /> <rect x="20" y="0" width="4" height="15" fill="#7ea3f2" /> </g> </svg> </span> <div id="Text-Tabs+Wrap-fav" class="show-logged-in"> <form action="/account/favorite/add" style="display: inline" method="POST"> <input type="hidden" name="remove" value="0"> <input type="hidden" name="release" value="Text-Tabs+Wrap-2024.001"> <input type="hidden" name="author" value="ARISTOTLE"> <input type="hidden" name="distribution" value="Text-Tabs+Wrap"> <button type="submit" class="favorite highlight"><span>10</span> ++</button> </form> </div> <div class="show-logged-out"> <button class="fav-not-logged-in favorite highlight"><span>10</span> ++</button> </div> / <span>Text::Wrap</span> </div> </div> <main class="content"> <nav class="toc"> <div class="toc-header"><strong>Contents</strong></div> <ul> <li><a href="#NAME">NAME</a></li> <li><a href="#SYNOPSIS">SYNOPSIS</a></li> <li><a href="#DESCRIPTION">DESCRIPTION</a></li> <li><a href="#OVERRIDES">OVERRIDES</a></li> <li><a href="#EXAMPLES">EXAMPLES</a></li> <li><a href="#SEE-ALSO">SEE ALSO</a></li> <li><a href="#AUTHOR">AUTHOR</a></li> <li><a href="#LICENSE">LICENSE</a></li> </ul></nav> <div class="pod anchors"> <h1 id="NAME">NAME</h1> <p>Text::Wrap - line wrapping to form simple paragraphs</p> <h1 id="SYNOPSIS">SYNOPSIS</h1> <p><b>Example 1</b></p> <pre><code>use Text::Wrap; $initial_tab = &quot;\t&quot;; # Tab before first line $subsequent_tab = &quot;&quot;; # All other lines flush left print wrap($initial_tab, $subsequent_tab, @text); print fill($initial_tab, $subsequent_tab, @text); $lines = wrap($initial_tab, $subsequent_tab, @text); @paragraphs = fill($initial_tab, $subsequent_tab, @text);</code></pre> <p><b>Example 2</b></p> <pre><code>use Text::Wrap qw(wrap $columns $huge); $columns = 132; # Wrap at 132 characters $huge = &#39;die&#39;; $huge = &#39;wrap&#39;; $huge = &#39;overflow&#39;;</code></pre> <p><b>Example 3</b></p> <pre><code>use Text::Wrap; $Text::Wrap::columns = 72; print wrap(&#39;&#39;, &#39;&#39;, @text);</code></pre> <h1 id="DESCRIPTION">DESCRIPTION</h1> <p><code>Text::Wrap::wrap()</code> is a very simple paragraph formatter. It formats a single paragraph at a time by breaking lines at word boundaries. Indentation is controlled for the first line (<code>$initial_tab</code>) and all subsequent lines (<code>$subsequent_tab</code>) independently. Please note: <code>$initial_tab</code> and <code>$subsequent_tab</code> are the literal strings that will be used: it is unlikely you would want to pass in a number.</p> <p><code>Text::Wrap::fill()</code> is a simple multi-paragraph formatter. It formats each paragraph separately and then joins them together when it&#39;s done. It will destroy any whitespace in the original text. It breaks text into paragraphs by looking for whitespace after a newline. In other respects, it acts like wrap().</p> <p><code>wrap()</code> compresses trailing whitespace into one newline, and <code>fill()</code> deletes all trailing whitespace.</p> <p>Both <code>wrap()</code> and <code>fill()</code> return a single string.</p> <p>Unlike the old Unix fmt(1) utility, this module correctly accounts for any Unicode combining characters (such as diacriticals) that may occur in each line for both expansion and unexpansion. These are overstrike characters that do not increment the logical position. Make sure you have the appropriate Unicode settings enabled.</p> <h1 id="OVERRIDES">OVERRIDES</h1> <p><code>Text::Wrap::wrap()</code> has a number of variables that control its behavior. Because other modules might be using <code>Text::Wrap::wrap()</code> it is suggested that you leave these variables alone! If you can&#39;t do that, then use <code>local($Text::Wrap::VARIABLE) = YOURVALUE</code> when you change the values so that the original value is restored. This <code>local()</code> trick will not work if you import the variable into your own namespace.</p> <p>Lines are wrapped at <code>$Text::Wrap::columns</code> columns (default value: 76). <code>$Text::Wrap::columns</code> should be set to the full width of your output device. In fact, every resulting line will have length of no more than <code>$columns - 1</code>.</p> <p>It is possible to control which characters terminate words by modifying <code>$Text::Wrap::break</code>. Set this to a string such as <code>&#39;[\s:]&#39;</code> (to break before spaces or colons) or a pre-compiled regexp such as <code>qr/[\s&#39;]/</code> (to break before spaces or apostrophes). The default is simply <code>&#39;\s&#39;</code>; that is, words are terminated by spaces. (This means, among other things, that trailing punctuation such as full stops or commas stay with the word they are &quot;attached&quot; to.) Setting <code>$Text::Wrap::break</code> to a regular expression that doesn&#39;t eat any characters (perhaps just a forward look-ahead assertion) will cause warnings.</p> <p>Beginner note: In example 2, above <code>$columns</code> is imported into the local namespace, and set locally. In example 3, <code>$Text::Wrap::columns</code> is set in its own namespace without importing it.</p> <p><code>Text::Wrap::wrap()</code> starts its work by expanding all the tabs in its input into spaces. The last thing it does it to turn spaces back into tabs. If you do not want tabs in your results, set <code>$Text::Wrap::unexpand</code> to a false value. Likewise if you do not want to use 8-character tabstops, set <code>$Text::Wrap::tabstop</code> to the number of characters you do want for your tabstops.</p> <p>If you want to separate your lines with something other than <code>\n</code> then set <code>$Text::Wrap::separator</code> to your preference. This replaces all newlines with <code>$Text::Wrap::separator</code>. If you just want to preserve existing newlines but add new breaks with something else, set <code>$Text::Wrap::separator2</code> instead.</p> <p>When words that are longer than <code>$columns</code> are encountered, they are broken up. <code>wrap()</code> adds a <code>&quot;\n&quot;</code> at column <code>$columns</code>. This behavior can be overridden by setting <code>$huge</code> to &#39;die&#39; or to &#39;overflow&#39;. When set to &#39;die&#39;, large words will cause <code>die()</code> to be called. When set to &#39;overflow&#39;, large words will be left intact.</p> <p>Historical notes: &#39;die&#39; used to be the default value of <code>$huge</code>. Now, &#39;wrap&#39; is the default value.</p> <h1 id="EXAMPLES">EXAMPLES</h1> <p>Code:</p> <pre><code>print wrap(&quot;\t&quot;,&quot;&quot;,&lt;&lt;END); This is a bit of text that forms a normal book-style indented paragraph END</code></pre> <p>Result:</p> <pre><code>&quot; This is a bit of text that forms a normal book-style indented paragraph &quot;</code></pre> <p>Code:</p> <pre><code>$Text::Wrap::columns=20; $Text::Wrap::separator=&quot;|&quot;; print wrap(&quot;&quot;,&quot;&quot;,&quot;This is a bit of text that forms a normal book-style paragraph&quot;);</code></pre> <p>Result:</p> <pre><code>&quot;This is a bit of|text that forms a|normal book-style|paragraph&quot;</code></pre> <h1 id="SEE-ALSO"><a id="SEE"></a>SEE ALSO</h1> <p>For correct handling of East Asian half- and full-width characters, see <a href="/pod/Text::WrapI18N">Text::WrapI18N</a>. For more detailed controls: <a href="/pod/Text::Format">Text::Format</a>.</p> <h1 id="AUTHOR">AUTHOR</h1> <p>David Muir Sharnoff &lt;cpan@dave.sharnoff.org&gt; with help from Tim Pierce and many many others.</p> <h1 id="LICENSE">LICENSE</h1> <p>Copyright (C) 1996-2009 David Muir Sharnoff. Copyright (C) 2012-2013 Google, Inc. This module may be modified, used, copied, and redistributed at your own risk. Although allowed by the preceding license, please do not publicly redistribute modified versions of this code with the name &quot;Text::Wrap&quot; unless it passes the unmodified Text::Wrap test suite.</p></div> <div id="metacpan_install-instructions-dialog" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h4 class="modal-title">Module Install Instructions</h4> </div> <div class="modal-body"> <p>To install Text::Tabs, copy and paste the appropriate command in to your terminal.</p> <p><a href="/dist/App-cpanminus/view/bin/cpanm">cpanm</a></p> <pre><code>cpanm Text::Tabs</code></pre> <p><a href="/pod/CPAN">CPAN shell</a></p> <pre><code>perl -MCPAN -e shell install Text::Tabs</code></pre> <p>For more information on module installation, please visit <a href="https://www.cpan.org/modules/INSTALL.html">the detailed CPAN module installation guide</a>.</p> </div> <div class="modal-footer"> <a href="#" data-dismiss="modal" class="btn">Close</a> </div> </div> </div> </div> </main> <div class="content-pagination"> </div> </div> <footer class="footer"> <div class="footer-container"> <div class="footer-social"> <div class="footer-link footer-logo"> <a href="/"> <img src="/static/images/metacpan-logo.svg" alt="MetaCPAN" /> </a> </div> <a class="footer-social-link" href="https://github.com/metacpan"> <i class="fab fa-github-square"></i> </a> <a class="footer-social-link" href="https://fosstodon.org/@metacpan"> <i class="fab fa-mastodon"></i> </a> </div> <div class="footer-links"> <div class="footer-link"> <a href="/about">About</a> </div> <div class="footer-link"> <a href="/about/sponsors">Sponsor</a> </div> <div class="footer-link"> <a href="https://grep.metacpan.org">grep::cpan</a> </div> <div class="footer-link"> <a href="/recent">Recent</a> </div> <div class="footer-link"> <a href="/about/faq">FAQ</a> </div> <div class="footer-link"> <a href="/tools">Tools</a> </div> <div class="footer-link"> <a href="https://fastapi.metacpan.org/">API</a> </div> <div class="footer-link"> <a href="https://www.perl.org/">Perl.org</a> </div> </div> <div class="footer-sponsors"> <a class="footer-sponsor-link" target="_blank" href="https://www.bytemark.co.uk/" rel="noopener"> <img class="footer-sponsor-bytemark" src="/static/images/sponsors/bytemark_logo.svg" alt="Bytemark logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://www.liquidweb.com/" rel="noopener"> <img class="footer-sponsor-liquidweb" src="/static/images/sponsors/liquidweb_logo.png" alt="liquidweb logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://deriv.com/careers/" rel="noopener"> <img class="footer-sponsor-deriv" src="/static/images/sponsors/deriv.svg" alt="Deriv logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://geocode.xyz" rel="noopener"> <img class="footer-sponsor-geocode" src="/static/images/sponsors/geocodelogo.svg" alt="Geocode logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://www.fastly.com/" rel="noopener"> <img class="footer-sponsor-fastly" src="/static/images/sponsors/fastly_logo.svg" alt="Fastly logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://opencagedata.com" rel="noopener"> <img class="footer-sponsor-opencage" src="/static/images/sponsors/open-cage.svg" alt="OpenCage logo"> </a> <!-- Added 2024-07-22 --> <a class="footer-sponsor-link" target="_blank" href="https://www.elastic.co/" rel="noopener"> <img class="footer-sponsor-elastic" src="/static/images/sponsors/elastic.svg" alt="Elastic logo"> </a> <!-- Added 2024-07-22 --> <a class="footer-sponsor-link" target="_blank" href="https://route4me.com/" rel="noopener"> <img class="footer-sponsor-route4me" src="/static/images/sponsors/route4me.png" alt="Route4Me logo"> </a> </div> </div> </footer> <div class="modal fade" tabindex="-1" role="dialog" id="metacpan_keyboard-shortcuts"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Keyboard Shortcuts</h4> </div> <div class="modal-body row"> <div class="col-md-6"> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>Global</th> </tr> </thead> <tbody> <tr> <td class="keys"> <kbd>s</kbd> </td> <td>Focus search bar</td> </tr> <tr> <td class="keys"> <kbd>?</kbd> </td> <td>Bring up this help dialog</td> </tr> </tbody> </table> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>GitHub</th> </tr> </thead> <tbody> <tr> <td class="keys"> <kbd>g</kbd> <kbd>p</kbd> </td> <td>Go to pull requests</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>i</kbd> </td> <td>go to github issues (only if github is preferred repository)</td> </tr> </tbody> </table> </div> <div class="col-md-6"> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>POD</th> </tr> </thead> <tbody> <tr> <td class="keys"> <kbd>g</kbd> <kbd>a</kbd> </td> <td>Go to author</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>c</kbd> </td> <td>Go to changes</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>i</kbd> </td> <td>Go to issues</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>d</kbd> </td> <td>Go to dist</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>r</kbd> </td> <td>Go to repository/SCM</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>s</kbd> </td> <td>Go to source</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>b</kbd> </td> <td>Go to file browse</td> </tr> </tbody> </table> </div> <div class="col-md-12"> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>Search terms</th> </tr> </thead> <tbody> <tr> <td><em>module:</em> (e.g. <a href="/search?q=module%3APlugin">module:Plugin</a>)</td> </tr> <tr> <td><em>distribution:</em> (e.g. <a href="/search?q=distribution%3ADancer+auth">distribution:Dancer auth</a>)</td> </tr> <tr> <td><em>author:</em> (e.g. <a href="/search?q=author%3ASONGMU+Redis">author:SONGMU Redis</a>)</td> </tr> <tr> <td><em>version:</em> (e.g. <a href="/search?q=version%3A1.00">version:1.00</a>)</td> </tr> </tbody> </table> </div> </div> <div class="modal-footer"></div> </div> </div> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10