CINXE.COM
perlfaq1 - General Questions About Perl - metacpan.org
<!DOCTYPE html> <html lang="en-US"> <head> <title>perlfaq1 - General Questions About Perl - 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 perlfaq - MetaCPAN" href="/dist/perlfaq/releases.rss" /> <link rel="canonical" href="https://metacpan.org/dist/perlfaq/view/lib/perlfaq1.pod" /> <meta name="description" content="General Questions About Perl" /> <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/dist/perlfaq/view/lib/perlfaq1.pod" /> <meta property="og:title" content="perlfaq1" /> <meta property="og:description" content="General Questions About Perl" /> <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 perlfaq was released."> <span class="relatize">18 Feb 2024 17:37:36 UTC</span> </div> </li> <li> Distribution: <a href="/dist/perlfaq">perlfaq</a> </li> <li> <a data-keyboard-shortcut="g s" href="/dist/perlfaq/source/lib/perlfaq1.pod">Source</a> (<a href="/dist/perlfaq/source/lib/perlfaq1.pod?raw=1">raw</a>) </li> <li> <a data-keyboard-shortcut="g b" href="/dist/perlfaq/source/lib">Browse</a> (<a href="/dist/perlfaq/source/lib?raw=1">raw</a>) </li> <li> <a data-keyboard-shortcut="g c" href="/dist/perlfaq/changes">Changes</a> </li> <li> <a rel="noopener nofollow" class="nopopup" href="https://metacpan.org/release/perlfaq">Homepage</a> </li> <li> <a class="nopopup" href="/dist/perlfaq/contribute">How to Contribute</a> </li> <li> <a rel="noopener nofollow" data-keyboard-shortcut="g r" href="https://github.com/perl-doc-cats/perlfaq">Repository</a> </li> <li> <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="https://github.com/perl-doc-cats/perlfaq/issues">Issues</a> </li> <li> <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=perlfaq+5.20240218" title="Matrix">Testers</a> <span title="(pass / fail / na)">(<a rel="noopener nofollow" href="https://www.cpantesters.org/distro/p/perlfaq.html?oncpan=1&distmat=1&version=5.20240218&grade=2" style="color: #090">553</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/p/perlfaq.html?oncpan=1&distmat=1&version=5.20240218&grade=3" style="color: #900">0</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/p/perlfaq.html?oncpan=1&distmat=1&version=5.20240218&grade=4">0</a>)</span> </li> <li> <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/ETHER/perlfaq-5.20240218">Kwalitee</a> </li> <li> <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on perlfaq 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: perl_5 </li> <li> Perl: v5.6.0 </li> <li class="chat-banner"> <div><a rel="noopener nofollow" target="_blank" href="https://kiwiirc.com/nextclient/#irc://irc.perl.org/#perl-faq?nick=mc-guest-?">Chat with us!</a></div> </li> <li class="nav-header">Activity</li> <li> <div class="activity-graph"> <img src="/dist/perlfaq/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/E/ET/ETHER/perlfaq-5.20240218.tar.gz"> Download (<span itemprop="fileSize">199.05KB</span>)</a> </li> <li> <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FETHER%2Fperlfaq-5.20240218%2Flib%2Fperlfaq1.pod"> MetaCPAN Explorer </a> </li> <li> <a href="/dist/perlfaq/permissions"> Permissions </a> </li> <li> <a href="/dist/perlfaq/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:perlfaq"> <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="perlfaq"> <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/ETHER/perlfaq-5.20240218/view/lib/perlfaq1.pod" >5.20240218 (ETHER on 2024-02-18)</option> <option value="/release/LLAP/perlfaq-5.021011/view/lib/perlfaq1.pod" >5.021011 (LLAP on 2016-03-04)</option> <option value="/release/FLORA/perlfaq-5.01500301/view/lib/perlfaq1.pod" >5.01500301 (FLORA on 2011-08-29)</option> <option value="/release/FLORA/perlfaq-5.015003/view/lib/perlfaq1.pod" >5.015003 (FLORA on 2011-08-26)</option> <option value="/release/FLORA/perlfaq-5.015000/view/lib/perlfaq1.pod" >5.015000 (FLORA on 2011-07-08)</option> <optgroup label="BackPAN">' <option value="/release/ETHER/perlfaq-5.20230812/view/lib/perlfaq1.pod" >5.20230812 (ETHER on 2023-08-12)</option> <option value="/release/ETHER/perlfaq-5.20230701/view/lib/perlfaq1.pod" >5.20230701 (ETHER on 2023-07-01)</option> <option value="/release/ETHER/perlfaq-5.20210520/view/lib/perlfaq1.pod" >5.20210520 (ETHER on 2021-05-20)</option> <option value="/release/ETHER/perlfaq-5.20210411/view/lib/perlfaq1.pod" >5.20210411 (ETHER on 2021-04-11)</option> <option value="/release/ETHER/perlfaq-5.20201107/view/lib/perlfaq1.pod" >5.20201107 (ETHER on 2020-11-07)</option> <option value="/release/ETHER/perlfaq-5.20200523/view/lib/perlfaq1.pod" >5.20200523 (ETHER on 2020-05-22)</option> <option value="/release/ETHER/perlfaq-5.20200522/view/lib/perlfaq1.pod" >5.20200522 (ETHER on 2020-05-22)</option> <option value="/release/ETHER/perlfaq-5.20200125/view/lib/perlfaq1.pod" >5.20200125 (ETHER on 2020-01-25)</option> <option value="/release/ETHER/perlfaq-5.20191102/view/lib/perlfaq1.pod" >5.20191102 (ETHER on 2019-11-02)</option> <option value="/release/ETHER/perlfaq-5.20190126/view/lib/perlfaq1.pod" >5.20190126 (ETHER on 2019-01-26)</option> <option value="/release/ETHER/perlfaq-5.20180915/view/lib/perlfaq1.pod" >5.20180915 (ETHER on 2018-09-15)</option> <option value="/release/ETHER/perlfaq-5.20180913/view/lib/perlfaq1.pod" >5.20180913 (ETHER on 2018-09-13)</option> <option value="/release/ETHER/perlfaq-5.20180605/view/lib/perlfaq1.pod" >5.20180605 (ETHER on 2018-06-05)</option> <option value="/release/LLAP/perlfaq-5.021010/view/lib/perlfaq1.pod" >5.021010 (LLAP on 2015-07-28)</option> <option value="/release/ETHER/perlfaq-5.021009/view/lib/perlfaq1.pod" >5.021009 (ETHER on 2015-01-25)</option> <option value="/release/ETHER/perlfaq-5.0150046/view/lib/perlfaq1.pod" >5.0150046 (ETHER on 2014-10-19)</option> <option value="/release/LLAP/perlfaq-5.0150045/view/lib/perlfaq1.pod" >5.0150045 (LLAP on 2014-08-03)</option> <option value="/release/LLAP/perlfaq-5.0150044/view/lib/perlfaq1.pod" >5.0150044 (LLAP on 2013-09-12)</option> <option value="/release/LLAP/perlfaq-5.0150043/view/lib/perlfaq1.pod" >5.0150043 (LLAP on 2013-05-12)</option> <option value="/release/LLAP/perlfaq-5.0150042/view/lib/perlfaq1.pod" >5.0150042 (LLAP on 2013-03-06)</option> <option value="/release/LLAP/perlfaq-5.0150041/view/lib/perlfaq1.pod" >5.0150041 (LLAP on 2012-08-15)</option> <option value="/release/LLAP/perlfaq-5.0150040/view/lib/perlfaq1.pod" >5.0150040 (LLAP on 2012-06-09)</option> <option value="/release/LLAP/perlfaq-5.0150039/view/lib/perlfaq1.pod" >5.0150039 (LLAP on 2012-02-18)</option> <option value="/release/LLAP/perlfaq-5.0150038/view/lib/perlfaq1.pod" >5.0150038 (LLAP on 2012-01-19)</option> <option value="/release/LLAP/perlfaq-5.0150037/view/lib/perlfaq1.pod" >5.0150037 (LLAP on 2012-01-08)</option> <option value="/release/LLAP/perlfaq-5.0150036/view/lib/perlfaq1.pod" >5.0150036 (LLAP on 2011-10-22)</option> <option value="/release/LLAP/perlfaq-5.0150035/view/lib/perlfaq1.pod" >5.0150035 (LLAP on 2011-09-26)</option> <option value="/release/LLAP/perlfaq-5.0150034/view/lib/perlfaq1.pod" >5.0150034 (LLAP on 2011-09-12)</option> <option value="/release/LLAP/perlfaq-5.0150033/view/lib/perlfaq1.pod" >5.0150033 (LLAP on 2011-08-30)</option> <option value="/release/LLAP/perlfaq-5.0150032/view/lib/perlfaq1.pod" >5.0150032 (LLAP on 2011-08-30)</option> <option value="/release/LLAP/perlfaq-5.01500302/view/lib/perlfaq1.pod" >5.01500302 (LLAP on 2011-08-29)</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/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20240218/lib/perlfaq1.pod" >5.20240218 (ETHER on 2024-02-18)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.021011/lib/perlfaq1.pod" >5.021011 (LLAP on 2016-03-04)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/FLORA/perlfaq-5.01500301/lib/perlfaq1.pod" >5.01500301 (FLORA on 2011-08-29)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/FLORA/perlfaq-5.015003/lib/perlfaq1.pod" >5.015003 (FLORA on 2011-08-26)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/FLORA/perlfaq-5.015000/lib/perlfaq1.pod" >5.015000 (FLORA on 2011-07-08)</option> <optgroup label="BackPAN">' <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20230812/lib/perlfaq1.pod" >5.20230812 (ETHER on 2023-08-12)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20230701/lib/perlfaq1.pod" >5.20230701 (ETHER on 2023-07-01)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20210520/lib/perlfaq1.pod" >5.20210520 (ETHER on 2021-05-20)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20210411/lib/perlfaq1.pod" >5.20210411 (ETHER on 2021-04-11)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20201107/lib/perlfaq1.pod" >5.20201107 (ETHER on 2020-11-07)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20200523/lib/perlfaq1.pod" >5.20200523 (ETHER on 2020-05-22)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20200522/lib/perlfaq1.pod" >5.20200522 (ETHER on 2020-05-22)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20200125/lib/perlfaq1.pod" >5.20200125 (ETHER on 2020-01-25)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20191102/lib/perlfaq1.pod" >5.20191102 (ETHER on 2019-11-02)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20190126/lib/perlfaq1.pod" >5.20190126 (ETHER on 2019-01-26)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20180915/lib/perlfaq1.pod" >5.20180915 (ETHER on 2018-09-15)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20180913/lib/perlfaq1.pod" >5.20180913 (ETHER on 2018-09-13)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.20180605/lib/perlfaq1.pod" >5.20180605 (ETHER on 2018-06-05)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.021010/lib/perlfaq1.pod" >5.021010 (LLAP on 2015-07-28)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.021009/lib/perlfaq1.pod" >5.021009 (ETHER on 2015-01-25)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/ETHER/perlfaq-5.0150046/lib/perlfaq1.pod" >5.0150046 (ETHER on 2014-10-19)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150045/lib/perlfaq1.pod" >5.0150045 (LLAP on 2014-08-03)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150044/lib/perlfaq1.pod" >5.0150044 (LLAP on 2013-09-12)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150043/lib/perlfaq1.pod" >5.0150043 (LLAP on 2013-05-12)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150042/lib/perlfaq1.pod" >5.0150042 (LLAP on 2013-03-06)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150041/lib/perlfaq1.pod" >5.0150041 (LLAP on 2012-08-15)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150040/lib/perlfaq1.pod" >5.0150040 (LLAP on 2012-06-09)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150039/lib/perlfaq1.pod" >5.0150039 (LLAP on 2012-02-18)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150038/lib/perlfaq1.pod" >5.0150038 (LLAP on 2012-01-19)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150037/lib/perlfaq1.pod" >5.0150037 (LLAP on 2012-01-08)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150036/lib/perlfaq1.pod" >5.0150036 (LLAP on 2011-10-22)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150035/lib/perlfaq1.pod" >5.0150035 (LLAP on 2011-09-26)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150034/lib/perlfaq1.pod" >5.0150034 (LLAP on 2011-09-12)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150033/lib/perlfaq1.pod" >5.0150033 (LLAP on 2011-08-30)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.0150032/lib/perlfaq1.pod" >5.0150032 (LLAP on 2011-08-30)</option> <option value="/release/ETHER/perlfaq-5.20240218/diff/LLAP/perlfaq-5.01500302/lib/perlfaq1.pod" >5.01500302 (LLAP on 2011-08-29)</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/perlfaq1/requires">Reverse dependencies</a> </li> <li> <a href="http://deps.cpantesters.org/?module=perlfaq1">CPAN Testers List</a> </li> <li> <a href="https://cpandeps.grinnz.com/?dist=perlfaq">Dependency graph</a> </li> </ul> </li> <li class="nav-header">Permalinks</li> <li> <a href="/release/ETHER/perlfaq-5.20240218/view/lib/perlfaq1.pod">This version</a> </li> <li> <a href="/dist/perlfaq/view/lib/perlfaq1.pod">Latest version</a> </li> <li> <div class="plussers"> <div class="nav-header">++ed by:</div> <div> <a class="display-all" href="/author/KBOWEN"><img src="https://www.gravatar.com/avatar/87a27cf45d31bf77e02a5b4c23d2baea?d=identicon&s=20" title="KBOWEN" alt="KBOWEN"></a> <a class="display-all" href="/author/KES"><img src="https://www.gravatar.com/avatar/e8530f00b43b4f6a056f8ad4ee52ea47?d=identicon&s=20" title="KES" alt="KES"></a> <a class="display-all" href="/author/RWP"><img src="https://www.gravatar.com/avatar/7110eb2389e69a066d9d7cad7a1cc2bf?d=identicon&s=20" title="RWP" alt="RWP"></a> <a class="display-all" href="/author/DESERTFOX"><img src="https://www.gravatar.com/avatar/bedc2681974cb3fc95fcd313a66e04b4?d=identicon&s=20" title="DESERTFOX" alt="DESERTFOX"></a> </div> <!-- Display counts of plussers--> <div> <a href="/dist/perlfaq/plussers">4 PAUSE users</a> </div> <div> 8 non-PAUSE users </div> </div> </li> <li> <div> <button class="contributors-show-button btn-link">and 53 contributors</button> <div id="metacpan_contributors" class="slide-out slide-out-hidden"> <div> <ul> <li class="contributor" data-contrib-email="talexb@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Alex Beamish </li> <li class="contributor" data-cpan-author="BDFOY" data-contrib-email="bdfoy@cpan.org briandfoy@pobox.com" > <a href="/author/BDFOY" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/168427dea0a034607ee7850f3de98ea2?d=identicon&s=20" /> brian d foy </a> </li> <li class="contributor" data-contrib-email="brian.fraser@booking.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Brian Fraser </li> <li class="contributor" data-contrib-email="celejar@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Celejar </li> <li class="contributor" data-cpan-author="APEIRON" data-contrib-email="apeiron@cpan.org" > <a href="/author/APEIRON" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/1a6af1c09654c59259d1ed6b08109970?d=identicon&s=20" /> Chris Nehren </a> </li> <li class="contributor" data-contrib-email="walde.christian@googlemail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Christian Walde </li> <li class="contributor" data-cpan-author="CJM" data-contrib-email="perl@cjmweb.net" > <a href="/author/CJM" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/75ab2425a09e84ffc650a859523ac56a?d=identicon&s=20" /> Christopher J. Madsen </a> </li> <li class="contributor" data-contrib-email="grinnz@gmail.com grinnz@grinnz.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Dan Book </li> <li class="contributor" data-contrib-email="bourbaki007@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> darfich </li> <li class="contributor" data-contrib-email="dave@dave.org.uk" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Dave Cross </li> <li class="contributor" data-cpan-author="BIGPRESH" data-contrib-email="davidp@preshweb.co.uk" > <a href="/author/BIGPRESH" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/66f9cc184db11ee7810f4bc2d029ec17?d=identicon&s=20" /> David Precious </a> </li> <li class="contributor" data-contrib-email="dsteinbrunner@pobox.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> David Steinbrunner </li> <li class="contributor" data-contrib-email="dctabuyz@yandex.ru" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> dctabuyz </li> <li class="contributor" data-contrib-email="denilsonsa@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Denilson S谩 Maia </li> <li class="contributor" data-contrib-email="jenkinsd@ochin.org" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Douglas L. Jenkins </li> <li class="contributor" data-contrib-email="choroba@matfyz.cz" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> E. Choroba </li> <li class="contributor" data-contrib-email="eric.git@iijo.org" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Eric Johnson </li> <li class="contributor" data-cpan-author="SPROUT" data-contrib-email="sprout@cpan.org" > <a href="/author/SPROUT" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/30bd18493bc25ab8d09ea1050dd28f47?d=identicon&s=20" /> Father Chrysostomos </a> </li> <li class="contributor" data-contrib-email="felipe@felipegasper.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Felipe Gasper </li> <li class="contributor" data-contrib-email="rafl@debian.org" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Florian Ragwitz </li> <li class="contributor" data-contrib-email="xaerxess@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Grzegorz Ro偶niecki </li> <li class="contributor" data-contrib-email="hemanth.hm@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> hemanth.hm </li> <li class="contributor" data-cpan-author="LICHTKIND" data-contrib-email="lichtkind@cpan.org" > <a href="/author/LICHTKIND" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/b9e7c23657e71d73dfc0f0b049a53e66?d=identicon&s=20" /> Herbert Breunung </a> </li> <li class="contributor" data-cpan-author="HURRICUP" data-contrib-email="hurricup@gmail.com" > <a href="/author/HURRICUP" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/aac386b32b9399acd0ae98abadbbd608?d=identicon&s=20" /> hurricup </a> </li> <li class="contributor" data-cpan-author="JKEENAN" data-contrib-email="jkeenan@cpan.org" > <a href="/author/JKEENAN" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/916bcaf0f8dbf1a198589096b293c603?d=identicon&s=20" /> James E Keenan </a> </li> <li class="contributor" data-contrib-email="jeffreykegler@jeffreykegler.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Jeffrey Kegler </li> <li class="contributor" data-contrib-email="explorer@joaquinferrero.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Joaqu铆n Ferrero </li> <li class="contributor" data-cpan-author="JMASLAK" data-contrib-email="jmaslak@antelope.net" > <a href="/author/JMASLAK" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/43ad4790c6562740f661ab775418f69e?d=identicon&s=20" /> Joel Maslak </a> </li> <li class="contributor" data-contrib-email="brainbuz@brainbuz.org" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> John Karr </li> <li class="contributor" data-contrib-email="laurent.dami@free.fr" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Laurent Dami </li> <li class="contributor" data-cpan-author="LLAP" data-contrib-email="LLAP@cpan.org leo@cuckoo.org" > <a href="/author/LLAP" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/fe83c062043dc4e41c9af07b080e306e?d=identicon&s=20" /> Leo Lapworth </a> </li> <li class="contributor" data-contrib-email="l.mai@web.de" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Lukas Mai </li> <li class="contributor" data-cpan-author="MHASCH" data-contrib-email="mhasch@cpan.org" > <a href="/author/MHASCH" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/00cb277a14ecf41f329accf325a9da2d?d=identicon&s=20" /> Martin Becker </a> </li> <li class="contributor" data-contrib-email="mcgrath.martin@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Martin McGrath </li> <li class="contributor" data-contrib-email="wolfsage@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Matthew Horsfall </li> <li class="contributor" data-contrib-email="schwern@pobox.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Michael G. Schwern </li> <li class="contributor" data-contrib-email="michiel.beijen@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Michiel Beijen </li> <li class="contributor" data-contrib-email="doherty@cs.dal.ca" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Mike Doherty </li> <li class="contributor" data-contrib-email="gnat@frii.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Nat Torkington </li> <li class="contributor" data-contrib-email="ntyni@debian.org" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Niko Tyni </li> <li class="contributor" data-contrib-email="olaf@wundersolutions.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Olaf Alders </li> <li class="contributor" data-contrib-email="perlfaq-workers@perl.org" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> perlfaq-workers </li> <li class="contributor" data-cpan-author="BOOK" data-contrib-email="book@cpan.org" > <a href="/author/BOOK" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/caceed5798ea9b855532b257de4686e8?d=identicon&s=20" /> Philippe Bruhat (BooK) </a> </li> <li class="contributor" data-cpan-author="RJBS" data-contrib-email="rjbs@cpan.org" > <a href="/author/RJBS" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/cec6b9b88295ead26c65f8747a76561b?d=identicon&s=20" /> Ricardo Signes </a> </li> <li class="contributor" data-contrib-email="ferivoz@riseup.net" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Samanta Navarro </li> <li class="contributor" data-contrib-email="kraihx@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Sebastian Riedel </li> <li class="contributor" data-contrib-email="argrath@ub32.org" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> SHIRAKATA Kentaro </li> <li class="contributor" data-contrib-email="shlomif@iglu.org.il" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Shlomi Fish </li> <li class="contributor" data-contrib-email="Smylers@stripey.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Smylers </li> <li class="contributor" data-cpan-author="P5P" data-contrib-email="perl5-porters@perl.org" > <a href="/author/P5P" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/3e9f73c7cca8f99ee158472e23a49eb8?d=identicon&s=20" /> The Perl 5 Porters </a> </li> <li class="contributor" data-contrib-email="forum@s05.tinita.de" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> tina </li> <li class="contributor" data-contrib-email="tchrist@perl.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Tom Christiansen </li> <li class="contributor" data-contrib-email="tom@binary.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Tom Molesworth </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/ETHER" class="author-name">Karen Etheridge</a> </span> <span> / </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/ETHER/perlfaq-5.20240218/view/lib/perlfaq1.pod" >5.20240218 (ETHER on 2024-02-18)</option> <option value="/release/LLAP/perlfaq-5.021011/view/lib/perlfaq1.pod" >5.021011 (LLAP on 2016-03-04)</option> <option value="/release/FLORA/perlfaq-5.01500301/view/lib/perlfaq1.pod" >5.01500301 (FLORA on 2011-08-29)</option> <option value="/release/FLORA/perlfaq-5.015003/view/lib/perlfaq1.pod" >5.015003 (FLORA on 2011-08-26)</option> <option value="/release/FLORA/perlfaq-5.015000/view/lib/perlfaq1.pod" >5.015000 (FLORA on 2011-07-08)</option> <optgroup label="BackPAN">' <option value="/release/ETHER/perlfaq-5.20230812/view/lib/perlfaq1.pod" >5.20230812 (ETHER on 2023-08-12)</option> <option value="/release/ETHER/perlfaq-5.20230701/view/lib/perlfaq1.pod" >5.20230701 (ETHER on 2023-07-01)</option> <option value="/release/ETHER/perlfaq-5.20210520/view/lib/perlfaq1.pod" >5.20210520 (ETHER on 2021-05-20)</option> <option value="/release/ETHER/perlfaq-5.20210411/view/lib/perlfaq1.pod" >5.20210411 (ETHER on 2021-04-11)</option> <option value="/release/ETHER/perlfaq-5.20201107/view/lib/perlfaq1.pod" >5.20201107 (ETHER on 2020-11-07)</option> <option value="/release/ETHER/perlfaq-5.20200523/view/lib/perlfaq1.pod" >5.20200523 (ETHER on 2020-05-22)</option> <option value="/release/ETHER/perlfaq-5.20200522/view/lib/perlfaq1.pod" >5.20200522 (ETHER on 2020-05-22)</option> <option value="/release/ETHER/perlfaq-5.20200125/view/lib/perlfaq1.pod" >5.20200125 (ETHER on 2020-01-25)</option> <option value="/release/ETHER/perlfaq-5.20191102/view/lib/perlfaq1.pod" >5.20191102 (ETHER on 2019-11-02)</option> <option value="/release/ETHER/perlfaq-5.20190126/view/lib/perlfaq1.pod" >5.20190126 (ETHER on 2019-01-26)</option> <option value="/release/ETHER/perlfaq-5.20180915/view/lib/perlfaq1.pod" >5.20180915 (ETHER on 2018-09-15)</option> <option value="/release/ETHER/perlfaq-5.20180913/view/lib/perlfaq1.pod" >5.20180913 (ETHER on 2018-09-13)</option> <option value="/release/ETHER/perlfaq-5.20180605/view/lib/perlfaq1.pod" >5.20180605 (ETHER on 2018-06-05)</option> <option value="/release/LLAP/perlfaq-5.021010/view/lib/perlfaq1.pod" >5.021010 (LLAP on 2015-07-28)</option> <option value="/release/ETHER/perlfaq-5.021009/view/lib/perlfaq1.pod" >5.021009 (ETHER on 2015-01-25)</option> <option value="/release/ETHER/perlfaq-5.0150046/view/lib/perlfaq1.pod" >5.0150046 (ETHER on 2014-10-19)</option> <option value="/release/LLAP/perlfaq-5.0150045/view/lib/perlfaq1.pod" >5.0150045 (LLAP on 2014-08-03)</option> <option value="/release/LLAP/perlfaq-5.0150044/view/lib/perlfaq1.pod" >5.0150044 (LLAP on 2013-09-12)</option> <option value="/release/LLAP/perlfaq-5.0150043/view/lib/perlfaq1.pod" >5.0150043 (LLAP on 2013-05-12)</option> <option value="/release/LLAP/perlfaq-5.0150042/view/lib/perlfaq1.pod" >5.0150042 (LLAP on 2013-03-06)</option> <option value="/release/LLAP/perlfaq-5.0150041/view/lib/perlfaq1.pod" >5.0150041 (LLAP on 2012-08-15)</option> <option value="/release/LLAP/perlfaq-5.0150040/view/lib/perlfaq1.pod" >5.0150040 (LLAP on 2012-06-09)</option> <option value="/release/LLAP/perlfaq-5.0150039/view/lib/perlfaq1.pod" >5.0150039 (LLAP on 2012-02-18)</option> <option value="/release/LLAP/perlfaq-5.0150038/view/lib/perlfaq1.pod" >5.0150038 (LLAP on 2012-01-19)</option> <option value="/release/LLAP/perlfaq-5.0150037/view/lib/perlfaq1.pod" >5.0150037 (LLAP on 2012-01-08)</option> <option value="/release/LLAP/perlfaq-5.0150036/view/lib/perlfaq1.pod" >5.0150036 (LLAP on 2011-10-22)</option> <option value="/release/LLAP/perlfaq-5.0150035/view/lib/perlfaq1.pod" >5.0150035 (LLAP on 2011-09-26)</option> <option value="/release/LLAP/perlfaq-5.0150034/view/lib/perlfaq1.pod" >5.0150034 (LLAP on 2011-09-12)</option> <option value="/release/LLAP/perlfaq-5.0150033/view/lib/perlfaq1.pod" >5.0150033 (LLAP on 2011-08-30)</option> <option value="/release/LLAP/perlfaq-5.0150032/view/lib/perlfaq1.pod" >5.0150032 (LLAP on 2011-08-30)</option> <option value="/release/LLAP/perlfaq-5.01500302/view/lib/perlfaq1.pod" >5.01500302 (LLAP on 2011-08-29)</option> </optgroup> </select> <a data-keyboard-shortcut="g d" class="release-name" href="/dist/perlfaq">perlfaq-5.20240218</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 zero No dependents </title> <rect x="0" y="0" width="4" height="15" fill="#e4e2e2" /> <rect x="5" y="0" width="4" height="15" fill="#e4e2e2" /> <rect x="10" y="0" width="4" height="15" fill="#e4e2e2" /> <rect x="15" y="0" width="4" height="15" fill="#e4e2e2" /> <rect x="20" y="0" width="4" height="15" fill="#e4e2e2" /> </g> </svg> </span> <div id="perlfaq-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="perlfaq-5.20240218"> <input type="hidden" name="author" value="ETHER"> <input type="hidden" name="distribution" value="perlfaq"> <button type="submit" class="favorite highlight"><span>12</span> ++</button> </form> </div> <div class="show-logged-out"> <button class="fav-not-logged-in favorite highlight"><span>12</span> ++</button> </div> / <span>perlfaq1</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="#VERSION">VERSION</a></li> <li><a href="#DESCRIPTION">DESCRIPTION</a> <ul> <li><a href="#What-is-Perl%3F">What is Perl?</a></li> <li><a href="#Who-supports-Perl%3F-Who-develops-it%3F-Why-is-it-free%3F">Who supports Perl? Who develops it? Why is it free?</a></li> <li><a href="#Which-version-of-Perl-should-I-use%3F">Which version of Perl should I use?</a></li> <li><a href="#What-is-Raku-(Perl-6)%3F">What is Raku (Perl 6)?</a></li> <li><a href="#How-stable-is-Perl%3F">How stable is Perl?</a></li> <li><a href="#How-often-are-new-versions-of-Perl-released%3F">How often are new versions of Perl released?</a></li> <li><a href="#Is-Perl-difficult-to-learn%3F">Is Perl difficult to learn?</a></li> <li><a href="#How-does-Perl-compare-with-other-languages-like-Java%2C-Python%2C-REXX%2C-Scheme%2C-or-Tcl%3F">How does Perl compare with other languages like Java, Python, REXX, Scheme, or Tcl?</a></li> <li><a href="#Can-I-do-%5Btask%5D-in-Perl%3F">Can I do [task] in Perl?</a></li> <li><a href="#When-shouldn%27t-I-program-in-Perl%3F">When shouldn't I program in Perl?</a></li> <li><a href="#What%27s-the-difference-between-%22perl%22-and-%22Perl%22%3F">What's the difference between "perl" and "Perl"?</a></li> <li><a href="#What-is-a-JAPH%3F">What is a JAPH?</a></li> <li><a href="#How-can-I-convince-others-to-use-Perl%3F">How can I convince others to use Perl?</a></li> </ul> </li> <li><a href="#AUTHOR-AND-COPYRIGHT">AUTHOR AND COPYRIGHT</a></li> </ul></nav> <div class="pod anchors"> <h1 id="NAME">NAME</h1> <p>perlfaq1 - General Questions About Perl</p> <h1 id="VERSION">VERSION</h1> <p>version 5.20240218</p> <h1 id="DESCRIPTION">DESCRIPTION</h1> <p>This section of the FAQ answers very general, high-level questions about Perl.</p> <h2 id="What-is-Perl?"><a id="What"></a><a id="What-is-Perl"></a>What is Perl?</h2> <p>Perl is a high-level programming language with an eclectic heritage written by Larry Wall and a cast of thousands.</p> <p>Perl's process, file, and text manipulation facilities make it particularly well-suited for tasks involving quick prototyping, system utilities, software tools, system management tasks, database access, graphical programming, networking, and web programming.</p> <p>Perl derives from the ubiquitous C programming language and to a lesser extent from sed, awk, the Unix shell, and many other tools and languages.</p> <p>These strengths make it especially popular with web developers and system administrators. Mathematicians, geneticists, journalists, managers and many other people also use Perl.</p> <h2 id="Who-supports-Perl?-Who-develops-it?-Why-is-it-free?"><a id="Who"></a><a id="Who-supports-Perl-Who-develops-it-Why-is-it-free"></a>Who supports Perl? Who develops it? Why is it free?</h2> <p>The original culture of the pre-populist Internet and the deeply-held beliefs of Perl's author, Larry Wall, gave rise to the free and open distribution policy of Perl. Perl is supported by its users. The core, the standard Perl library, the optional modules, and the documentation you're reading now were all written by volunteers.</p> <p>The core development team (known as the Perl Porters) are a group of highly altruistic individuals committed to producing better software for free than you could hope to purchase for money. You may snoop on pending developments via the <a href="http://www.nntp.perl.org/group/perl.perl5.porters/">archives</a> or you can subscribe to the mailing list by sending perl5-porters-subscribe@perl.org a subscription request (an empty message with no subject is fine).</p> <p>While the GNU project includes Perl in its distributions, there's no such thing as "GNU Perl". Perl is not produced nor maintained by the Free Software Foundation. Perl's licensing terms are also more open than GNU software's tend to be.</p> <p>You can get commercial support of Perl if you wish, although for most users the informal support will more than suffice. See the answer to "Where can I buy a commercial version of Perl?" for more information.</p> <h2 id="Which-version-of-Perl-should-I-use?"><a id="Which"></a><a id="Which-version-of-Perl-should-I-use"></a>Which version of Perl should I use?</h2> <p>(contributed by brian d foy with updates from others)</p> <p>There is often a matter of opinion and taste, and there isn't any one answer that fits everyone. In general, you want to use either the current stable release, or the stable release immediately prior to that one.</p> <p>Beyond that, you have to consider several things and decide which is best for you.</p> <ul> <li><p>If things aren't broken, upgrading perl may break them (or at least issue new warnings).</p> </li> <li><p>The latest versions of perl have more bug fixes.</p> </li> <li><p>The latest versions of perl may contain performance improvements and features not present in older versions. There have been many changes in perl since perl5 was first introduced.</p> </li> <li><p>The Perl community is geared toward supporting the most recent releases, so you'll have an easier time finding help for those.</p> </li> <li><p>Older versions of perl may have security vulnerabilities, some of which are serious (see <a href="/pod/perlsec">perlsec</a> and search <a href="https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=Perl">CVEs</a> for more information).</p> </li> <li><p>The latest versions are probably the least deployed and widely tested, so you may want to wait a few months after their release and see what problems others have if you are risk averse.</p> </li> <li><p>The immediate, in addition to the current stable release, the previous stable release is maintained. See <a href="/pod/perlpolicy#MAINTENANCE-AND-SUPPORT">"MAINTENANCE AND SUPPORT" in perlpolicy</a> for more information.</p> </li> <li><p>There are really two tracks of perl development: a maintenance version and an experimental version. The maintenance versions are stable, and have an even number as the minor release (i.e. perl5.24.x, where 24 is the minor release). The experimental versions may include features that don't make it into the stable versions, and have an odd number as the minor release (i.e. perl5.25.x, where 25 is the minor release).</p> </li> <li><p>You can consult <a href="http://dev.perl.org/perl5">releases</a> to determine the current stable release of Perl.</p> </li> </ul> <h2 id="What-is-Raku-(Perl-6)?"><a id="What1"></a><a id="What-is-Raku-Perl-6"></a>What is Raku (Perl 6)?</h2> <p>Raku (formerly known as Perl 6) was <i>originally</i> described as the community's rewrite of Perl, however as the language evolved, it became clear that it is a separate language, but in the same language family as Perl.</p> <p>Raku is not intended primarily as a replacement for Perl, but as its own thing - and libraries exist to allow you to call Perl code from Raku programs and vice versa.</p> <p>Contrary to popular belief, Raku and Perl peacefully coexist with one another. Raku has proven to be a fascinating source of ideas for those using Perl (the <a href="/pod/Moose">Moose</a> object system is a well-known example). There is overlap in the communities, and this overlap fosters the tradition of sharing and borrowing that have been instrumental to Perl's success.</p> <p>For more about Raku see <a href="https://www.raku.org/">https://www.raku.org/</a>.</p> <p>"We're really serious about reinventing everything that needs reinventing." --Larry Wall</p> <h2 id="How-stable-is-Perl?"><a id="How"></a><a id="How-stable-is-Perl"></a>How stable is Perl?</h2> <p>Production releases, which incorporate bug fixes and new functionality, are widely tested before release. Since the 5.000 release, we have averaged about one production release per year.</p> <p>The Perl development team occasionally make changes to the internal core of the language, but all possible efforts are made toward backward compatibility.</p> <h2 id="How-often-are-new-versions-of-Perl-released?"><a id="How1"></a><a id="How-often-are-new-versions-of-Perl-released"></a>How often are new versions of Perl released?</h2> <p>Recently, the plan has been to release a new version of Perl roughly every April, but getting the release right is more important than sticking rigidly to a calendar date, so the release date is somewhat flexible. The historical release dates can be viewed at <a href="http://www.cpan.org/src/README.html">http://www.cpan.org/src/README.html</a>.</p> <p>Even numbered minor versions (5.14, 5.16, 5.18) are production versions, and odd numbered minor versions (5.15, 5.17, 5.19) are development versions. Unless you want to try out an experimental feature, you probably never want to install a development version of Perl.</p> <p>The Perl development team are called Perl 5 Porters, and their organization is described at <a href="http://perldoc.perl.org/perlpolicy.html">http://perldoc.perl.org/perlpolicy.html</a>. The organizational rules really just boil down to one: Larry is always right, even when he was wrong.</p> <h2 id="Is-Perl-difficult-to-learn?"><a id="Is"></a><a id="Is-Perl-difficult-to-learn"></a>Is Perl difficult to learn?</h2> <p>No, Perl is easy to start <a href="http://learn.perl.org/">learning</a> --and easy to keep learning. It looks like most programming languages you're likely to have experience with, so if you've ever written a C program, an awk script, a shell script, or even a BASIC program, you're already partway there.</p> <p>Most tasks only require a small subset of the Perl language. One of the guiding mottos for Perl development is "there's more than one way to do it" (TMTOWTDI, sometimes pronounced "tim toady"). Perl's learning curve is therefore shallow (easy to learn) and long (there's a whole lot you can do if you really want).</p> <p>Finally, because Perl is frequently (but not always, and certainly not by definition) an interpreted language, you can write your programs and test them without an intermediate compilation step, allowing you to experiment and test/debug quickly and easily. This ease of experimentation flattens the learning curve even more.</p> <p>Things that make Perl easier to learn: Unix experience, almost any kind of programming experience, an understanding of regular expressions, and the ability to understand other people's code. If there's something you need to do, then it's probably already been done, and a working example is usually available for free. Don't forget Perl modules, either. They're discussed in Part 3 of this FAQ, along with <a href="http://www.cpan.org/">CPAN</a>, which is discussed in Part 2.</p> <h2 id="How-does-Perl-compare-with-other-languages-like-Java,-Python,-REXX,-Scheme,-or-Tcl?"><a id="How2"></a><a id="How-does-Perl-compare-with-other-languages-like-Java-Python-REXX-Scheme-or-Tcl"></a>How does Perl compare with other languages like Java, Python, REXX, Scheme, or Tcl?</h2> <p>Perl can be used for almost any coding problem, even ones which require integrating specialist C code for extra speed. As with any tool it can be used well or badly. Perl has many strengths, and a few weaknesses, precisely which areas are good and bad is often a personal choice.</p> <p>When choosing a language you should also be influenced by the <a href="http://www.cpan.org/">resources</a>, <a href="http://www.cpantesters.org/">testing culture</a> and <a href="http://www.perl.org/community.html">community</a> which surrounds it.</p> <p>For comparisons to a specific language it is often best to create a small project in both languages and compare the results, make sure to use all the <a href="http://www.cpan.org/">resources</a> of each language, as a language is far more than just it's syntax.</p> <h2 id="Can-I-do-[task]-in-Perl?"><a id="Can"></a><a id="Can-I-do-task-in-Perl"></a>Can I do [task] in Perl?</h2> <p>Perl is flexible and extensible enough for you to use on virtually any task, from one-line file-processing tasks to large, elaborate systems.</p> <p>For many people, Perl serves as a great replacement for shell scripting. For others, it serves as a convenient, high-level replacement for most of what they'd program in low-level languages like C or C++. It's ultimately up to you (and possibly your management) which tasks you'll use Perl for and which you won't.</p> <p>If you have a library that provides an API, you can make any component of it available as just another Perl function or variable using a Perl extension written in C or C++ and dynamically linked into your main perl interpreter. You can also go the other direction, and write your main program in C or C++, and then link in some Perl code on the fly, to create a powerful application. See <a href="/pod/perlembed">perlembed</a>.</p> <p>That said, there will always be small, focused, special-purpose languages dedicated to a specific problem domain that are simply more convenient for certain kinds of problems. Perl tries to be all things to all people, but nothing special to anyone. Examples of specialized languages that come to mind include prolog and matlab.</p> <h2 id="When-shouldn't-I-program-in-Perl?"><a id="When"></a><a id="When-shouldnt-I-program-in-Perl"></a>When shouldn't I program in Perl?</h2> <p>One good reason is when you already have an existing application written in another language that's all done (and done well), or you have an application language specifically designed for a certain task (e.g. prolog, make).</p> <p>If you find that you need to speed up a specific part of a Perl application (not something you often need) you may want to use C, but you can access this from your Perl code with <a href="/pod/perlxs">perlxs</a>.</p> <h2 id="What's-the-difference-between-"perl"-and-"Perl"?"><a id="What2"></a><a id="Whats-the-difference-between-perl-and-Perl"></a>What's the difference between "perl" and "Perl"?</h2> <p>"Perl" is the name of the language. Only the "P" is capitalized. The name of the interpreter (the program which runs the Perl script) is "perl" with a lowercase "p".</p> <p>You may or may not choose to follow this usage. But never write "PERL", because perl is not an acronym.</p> <h2 id="What-is-a-JAPH?"><a id="What3"></a><a id="What-is-a-JAPH"></a>What is a JAPH?</h2> <p>(contributed by brian d foy)</p> <p>JAPH stands for "Just another Perl hacker,", which Randal Schwartz used to sign email and usenet messages starting in the late 1980s. He previously used the phrase with many subjects ("Just another x hacker,"), so to distinguish his JAPH, he started to write them as Perl programs:</p> <pre><code>print "Just another Perl hacker,";</code></pre> <p>Other people picked up on this and started to write clever or obfuscated programs to produce the same output, spinning things quickly out of control while still providing hours of amusement for their creators and readers.</p> <p>CPAN has several JAPH programs at <a href="http://www.cpan.org/misc/japh">http://www.cpan.org/misc/japh</a>.</p> <h2 id="How-can-I-convince-others-to-use-Perl?"><a id="How3"></a><a id="How-can-I-convince-others-to-use-Perl"></a>How can I convince others to use Perl?</h2> <p>(contributed by brian d foy)</p> <p>Appeal to their self interest! If Perl is new (and thus scary) to them, find something that Perl can do to solve one of their problems. That might mean that Perl either saves them something (time, headaches, money) or gives them something (flexibility, power, testability).</p> <p>In general, the benefit of a language is closely related to the skill of the people using that language. If you or your team can be faster, better, and stronger through Perl, you'll deliver more value. Remember, people often respond better to what they get out of it. If you run into resistance, figure out what those people get out of the other choice and how Perl might satisfy that requirement.</p> <p>You don't have to worry about finding or paying for Perl; it's freely available and several popular operating systems come with Perl. Community support in places such as Perlmonks ( <a href="http://www.perlmonks.com">http://www.perlmonks.com</a> ) and the various Perl mailing lists ( <a href="http://lists.perl.org">http://lists.perl.org</a> ) means that you can usually get quick answers to your problems.</p> <p>Finally, keep in mind that Perl might not be the right tool for every job. You're a much better advocate if your claims are reasonable and grounded in reality. Dogmatically advocating anything tends to make people discount your message. Be honest about possible disadvantages to your choice of Perl since any choice has trade-offs.</p> <p>You might find these links useful:</p> <ul> <li><p><a href="http://www.perl.org/about.html">http://www.perl.org/about.html</a></p> </li> <li><p><a href="http://perltraining.com.au/whyperl.html">http://perltraining.com.au/whyperl.html</a></p> </li> </ul> <h1 id="AUTHOR-AND-COPYRIGHT"><a id="AUTHOR"></a>AUTHOR AND COPYRIGHT</h1> <p>Copyright (c) 1997-2010 Tom Christiansen, Nathan Torkington, and other authors as noted. All rights reserved.</p> <p>This documentation is free; you can redistribute it and/or modify it under the same terms as Perl itself.</p> <p>Irrespective of its distribution, all code examples here are in the public domain. You are permitted and encouraged to use this code and any derivatives thereof in your own programs for fun or for profit as you see fit. A simple comment in the code giving credit to the FAQ would be courteous but is not required.</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">×</button> <h4 class="modal-title">Module Install Instructions</h4> </div> <div class="modal-body"> <p>To install perlfaq, 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 perlfaq</code></pre> <p><a href="/pod/CPAN">CPAN shell</a></p> <pre><code>perl -MCPAN -e shell install perlfaq</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">×</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>