CINXE.COM

Perl builtin functions - Perldoc Browser

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Perl builtin functions - Perldoc Browser</title> <link rel="search" href="/opensearch.xml" type="application/opensearchdescription+xml" title="Perldoc Browser"> <link rel="canonical" href="https://perldoc.perl.org/functions"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css" integrity="sha512-cG1IdFxqipi3gqLmksLtuk13C+hBa57a6zpWxMeoY3Q9O6ooFxq50DayCdm0QrDgZjMUn23z/0PMZlgft7Yp5Q==" crossorigin="anonymous" /> <style> body { background: #f4f4f5; color: #020202; } .navbar-dark { background-image: -webkit-linear-gradient(top, #005f85 0, #002e49 100%); background-image: -o-linear-gradient(top, #005f85 0, #002e49 100%); background-image: linear-gradient(to bottom, #005f85 0, #002e49 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005f85', endColorstr='#ff002e49', GradientType=0); background-repeat: repeat-x; } .navbar-dark .navbar-nav .nav-link, .navbar-dark .navbar-nav .nav-link:focus { color: #fff } .navbar-dark .navbar-nav .nav-link:hover { color: #ffef68 } #wrapperlicious { margin: 0 auto; font: 0.9em 'Helvetica Neue', Helvetica, sans-serif; font-weight: normal; line-height: 1.5em; margin: 0; padding: 0; } #wrapperlicious h1 { font-size: 1.5em } #wrapperlicious h2 { font-size: 1.3em } #wrapperlicious h3 { font-size: 1.1em } #wrapperlicious h4 { font-size: 0.9em } #wrapperlicious h1, #wrapperlicious h2, #wrapperlicious h3, #wrapperlicious h4, #wrapperlicious dt { color: #020202; margin-top: 1em; margin-bottom: 1em; position: relative; font-weight: bold; } #wrapperlicious a { color: inherit; text-decoration: underline } #wrapperlicious #toc { text-decoration: none } #wrapperlicious a:hover { color: #2a2a2a } #wrapperlicious a img { border: 0 } #wrapperlicious :not(pre) > code { color: inherit; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; font: 0.9em Consolas, Menlo, Monaco, monospace; padding: 0.3em; } #wrapperlicious dd { margin: 0; margin-left: 2em; } #wrapperlicious dt { color: #2a2a2a; font-weight: bold; margin-left: 0.9em; } #wrapperlicious p { margin-bottom: 1em; margin-top: 1em; } #wrapperlicious li > p { margin-bottom: 0; margin-top: 0; } #wrapperlicious pre { border: 1px solid #c1c1c1; border-radius: 3px; font: 100% Consolas, Menlo, Monaco, monospace; margin-bottom: 1em; margin-top: 1em; } #wrapperlicious pre > code { display: block; background-color: #f6f6f6; font: 0.9em Consolas, Menlo, Monaco, monospace; line-height: 1.5em; text-align: left; white-space: pre; padding: 1em; } #wrapperlicious dl, #wrapperlicious ol, #wrapperlicious ul { margin-bottom: 1em; margin-top: 1em; } #wrapperlicious ul { list-style-type: square; } #wrapperlicious ul ul { margin-bottom: 0px; margin-top: 0px; } #footer { font-size: 0.8em; padding-top: 0.5em; text-align: center; } #more { display: inline; font-size: 0.8em; } #perldocdiv { background-color: #fff; border: 1px solid #c1c1c1; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; margin-left: auto; margin-right: auto; padding: 3em; padding-top: 1em; max-width: 960px; } #moduleversion { float: right } #wrapperlicious .leading-notice { font-style: italic; padding-left: 1em; margin-top: 1em; margin-bottom: 1em; } #wrapperlicious .permalink { display: none; left: -0.75em; position: absolute; padding-right: 0.25em; text-decoration: none; } #wrapperlicious h1:hover .permalink, #wrapperlicious h2:hover .permalink, #wrapperlicious h3:hover .permalink, #wrapperlicious h4:hover .permalink, #wrapperlicious dt:hover .permalink { display: block; } </style> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-KVNWBNT5FB"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-KVNWBNT5FB'); gtag('config', 'UA-50555-3'); </script> </head> <body> <nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-between"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <a class="navbar-brand" href="/">Perldoc Browser</a> <div class="collapse navbar-collapse" id="navbarNav"> <ul class="navbar-nav mr-auto"> <li class="nav-item dropdown text-nowrap"> <a class="nav-link dropdown-toggle" href="#" id="dropdownlink-stable" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">5.39.8</a> <div class="dropdown-menu" aria-labelledby="dropdownlink-stable"> <a class="dropdown-item" href="/functions">Latest</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.40.0/functions">5.40.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.38.2/functions">5.38.2</a> <a class="dropdown-item" href="/5.38.1/functions">5.38.1</a> <a class="dropdown-item" href="/5.38.0/functions">5.38.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.36.3/functions">5.36.3</a> <a class="dropdown-item" href="/5.36.2/functions">5.36.2</a> <a class="dropdown-item" href="/5.36.1/functions">5.36.1</a> <a class="dropdown-item" href="/5.36.0/functions">5.36.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.34.3/functions">5.34.3</a> <a class="dropdown-item" href="/5.34.2/functions">5.34.2</a> <a class="dropdown-item" href="/5.34.1/functions">5.34.1</a> <a class="dropdown-item" href="/5.34.0/functions">5.34.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.32.1/functions">5.32.1</a> <a class="dropdown-item" href="/5.32.0/functions">5.32.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.30.3/functions">5.30.3</a> <a class="dropdown-item" href="/5.30.2/functions">5.30.2</a> <a class="dropdown-item" href="/5.30.1/functions">5.30.1</a> <a class="dropdown-item" href="/5.30.0/functions">5.30.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.28.3/functions">5.28.3</a> <a class="dropdown-item" href="/5.28.2/functions">5.28.2</a> <a class="dropdown-item" href="/5.28.1/functions">5.28.1</a> <a class="dropdown-item" href="/5.28.0/functions">5.28.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.26.3/functions">5.26.3</a> <a class="dropdown-item" href="/5.26.2/functions">5.26.2</a> <a class="dropdown-item" href="/5.26.1/functions">5.26.1</a> <a class="dropdown-item" href="/5.26.0/functions">5.26.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.24.4/functions">5.24.4</a> <a class="dropdown-item" href="/5.24.3/functions">5.24.3</a> <a class="dropdown-item" href="/5.24.2/functions">5.24.2</a> <a class="dropdown-item" href="/5.24.1/functions">5.24.1</a> <a class="dropdown-item" href="/5.24.0/functions">5.24.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.22.4/functions">5.22.4</a> <a class="dropdown-item" href="/5.22.3/functions">5.22.3</a> <a class="dropdown-item" href="/5.22.2/functions">5.22.2</a> <a class="dropdown-item" href="/5.22.1/functions">5.22.1</a> <a class="dropdown-item" href="/5.22.0/functions">5.22.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.20.3/functions">5.20.3</a> <a class="dropdown-item" href="/5.20.2/functions">5.20.2</a> <a class="dropdown-item" href="/5.20.1/functions">5.20.1</a> <a class="dropdown-item" href="/5.20.0/functions">5.20.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.18.4/functions">5.18.4</a> <a class="dropdown-item" href="/5.18.3/functions">5.18.3</a> <a class="dropdown-item" href="/5.18.2/functions">5.18.2</a> <a class="dropdown-item" href="/5.18.1/functions">5.18.1</a> <a class="dropdown-item" href="/5.18.0/functions">5.18.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.16.3/functions">5.16.3</a> <a class="dropdown-item" href="/5.16.2/functions">5.16.2</a> <a class="dropdown-item" href="/5.16.1/functions">5.16.1</a> <a class="dropdown-item" href="/5.16.0/functions">5.16.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.14.4/functions">5.14.4</a> <a class="dropdown-item" href="/5.14.3/functions">5.14.3</a> <a class="dropdown-item" href="/5.14.2/functions">5.14.2</a> <a class="dropdown-item" href="/5.14.1/functions">5.14.1</a> <a class="dropdown-item" href="/5.14.0/functions">5.14.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.12.5/functions">5.12.5</a> <a class="dropdown-item" href="/5.12.4/functions">5.12.4</a> <a class="dropdown-item" href="/5.12.3/functions">5.12.3</a> <a class="dropdown-item" href="/5.12.2/functions">5.12.2</a> <a class="dropdown-item" href="/5.12.1/functions">5.12.1</a> <a class="dropdown-item" href="/5.12.0/functions">5.12.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.10.1/functions">5.10.1</a> <a class="dropdown-item" href="/5.10.0/functions">5.10.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.8.9/functions">5.8.9</a> <a class="dropdown-item" href="/5.8.8/functions">5.8.8</a> <a class="dropdown-item" href="/5.8.7/functions">5.8.7</a> <a class="dropdown-item" href="/5.8.6/functions">5.8.6</a> <a class="dropdown-item" href="/5.8.5/functions">5.8.5</a> <a class="dropdown-item" href="/5.8.4/functions">5.8.4</a> <a class="dropdown-item" href="/5.8.3/functions">5.8.3</a> <a class="dropdown-item" href="/5.8.2/functions">5.8.2</a> <a class="dropdown-item" href="/5.8.1/functions">5.8.1</a> <a class="dropdown-item" href="/5.8.0/functions">5.8.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.6.2/functions">5.6.2</a> <a class="dropdown-item" href="/5.6.1/functions">5.6.1</a> <a class="dropdown-item" href="/5.6.0/functions">5.6.0</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.005_04/functions">5.005_04</a> <a class="dropdown-item" href="/5.005_03/functions">5.005_03</a> <a class="dropdown-item" href="/5.005_02/functions">5.005_02</a> <a class="dropdown-item" href="/5.005_01/functions">5.005_01</a> <a class="dropdown-item" href="/5.005/functions">5.005</a> </div> </li> <li class="nav-item dropdown text-nowrap"> <a class="nav-link dropdown-toggle" href="#" id="dropdownlink-dev" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dev</a> <div class="dropdown-menu" aria-labelledby="dropdownlink-dev"> <a class="dropdown-item" href="/blead/functions">blead</a> <a class="dropdown-item" href="/5.41.6/functions">5.41.6</a> <a class="dropdown-item" href="/5.41.5/functions">5.41.5</a> <a class="dropdown-item" href="/5.41.4/functions">5.41.4</a> <a class="dropdown-item" href="/5.41.3/functions">5.41.3</a> <a class="dropdown-item" href="/5.41.2/functions">5.41.2</a> <a class="dropdown-item" href="/5.41.1/functions">5.41.1</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.40.0-RC2/functions">5.40.0-RC2</a> <a class="dropdown-item" href="/5.40.0-RC1/functions">5.40.0-RC1</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.39.10/functions">5.39.10</a> <a class="dropdown-item" href="/5.39.9/functions">5.39.9</a> <a class="dropdown-item active" href="/5.39.8/functions">5.39.8</a> <a class="dropdown-item" href="/5.39.7/functions">5.39.7</a> <a class="dropdown-item" href="/5.39.6/functions">5.39.6</a> <a class="dropdown-item" href="/5.39.5/functions">5.39.5</a> <a class="dropdown-item" href="/5.39.4/functions">5.39.4</a> <a class="dropdown-item" href="/5.39.3/functions">5.39.3</a> <a class="dropdown-item" href="/5.39.2/functions">5.39.2</a> <a class="dropdown-item" href="/5.39.1/functions">5.39.1</a> </div> </li> <li class="nav-item dropdown text-nowrap"> <a class="nav-link dropdown-toggle" href="#" id="dropdownlink-nav" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a> <div class="dropdown-menu" aria-labelledby="dropdownlink-nav"> <a class="dropdown-item" href="/5.39.8/perl">Perl</a> <a class="dropdown-item" href="/5.39.8/perlintro">Intro</a> <a class="dropdown-item" href="/5.39.8/perl#Tutorials">Tutorials</a> <a class="dropdown-item" href="/5.39.8/perlfaq">FAQs</a> <a class="dropdown-item" href="/5.39.8/perl#Reference-Manual">Reference</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.39.8/perlop">Operators</a> <a class="dropdown-item" href="/5.39.8/functions">Functions</a> <a class="dropdown-item" href="/5.39.8/variables">Variables</a> <a class="dropdown-item" href="/5.39.8/modules">Modules</a> <a class="dropdown-item" href="/5.39.8/perlutil">Utilities</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/5.39.8/perldelta">Release Notes</a> <a class="dropdown-item" href="/5.39.8/perlcommunity">Community</a> <a class="dropdown-item" href="/5.39.8/perlhist">History</a> </div> </li> </ul> <ul class="navbar-nav"> <script> function set_expand (expand) { var perldocdiv = document.getElementById('perldocdiv'); var width = window.getComputedStyle(perldocdiv).getPropertyValue('max-width'); var expanded = (width == '' || width == 'none') ? true : false; if (expand === null) { expand = !expanded; } if ((expand && !expanded) || (!expand && expanded)) { perldocdiv.style.setProperty('max-width', expand ? 'none' : '960px'); var button_classlist = document.getElementById('content-expand-button').classList; if (expand) { button_classlist.add('btn-light'); button_classlist.remove('btn-outline-light'); } else { button_classlist.add('btn-outline-light'); button_classlist.remove('btn-light'); } } return expand; } function toggle_expand () { var expand = set_expand(null); document.cookie = 'perldoc_expand=' + (expand ? 1 : 0) + '; path=/; expires=Tue, 19 Jan 2038 03:14:07 UTC'; } function read_expand () { return document.cookie.split(';').some(function (item) { return item.indexOf('perldoc_expand=1') >= 0 }); } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', function () { if (read_expand()) { set_expand(true); } }); } else if (read_expand()) { set_expand(true); } </script> <button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-4" onclick="toggle_expand()">Expand</button> </ul> <form class="form-inline" method="get" action="/5.39.8/search"> <input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search" value=""> </form> </div> </nav> <div id="wrapperlicious" class="container-fluid"> <div id="perldocdiv"> <div id="links"> <a href="/5.39.8/functions">functions</a> <div id="more"> (<a href="/5.39.8/functions.txt">source</a>, <a href="https://metacpan.org/pod/perlfunc">CPAN</a>) </div> </div> <div class="leading-notice"> You are viewing the version of this documentation from Perl 5.39.8. This is a development version of Perl. </div> <h1><a id="toc">CONTENTS</a></h1> <ul> <li> <a class="text-decoration-none" href="#Perl-Functions-by-Category">Perl Functions by Category </a> </li> <li> <a class="text-decoration-none" href="#Alphabetical-Listing-of-Perl-Functions">Alphabetical Listing of Perl Functions</a> </li> </ul> <p><i>Full documentation of builtin functions: <a href="/5.39.8/perlfunc">perlfunc</a></i></p> <h2 id="Perl-Functions-by-Category"><a class="permalink" href="#Perl-Functions-by-Category">#</a><a id="Perl"></a>Perl Functions by Category </h2> <p>Here are Perl&#39;s functions (including things that look like functions, like some keywords and named operators) arranged by category. Some functions appear in more than one place. Any warnings, including those produced by keywords, are described in <a href="/5.39.8/perldiag">perldiag</a> and <a href="/5.39.8/warnings">warnings</a>.</p> <dl> <dt id="Functions-for-SCALARs-or-strings"><a class="permalink" href="#Functions-for-SCALARs-or-strings">#</a><a id="Functions"></a>Functions for SCALARs or strings </dt> <dd> <p><a href="/5.39.8/functions/chomp"><code>chomp</code></a>, <a href="/5.39.8/functions/chop"><code>chop</code></a>, <a href="/5.39.8/functions/chr"><code>chr</code></a>, <a href="/5.39.8/functions/crypt"><code>crypt</code></a>, <a href="/5.39.8/functions/fc"><code>fc</code></a>, <a href="/5.39.8/functions/hex"><code>hex</code></a>, <a href="/5.39.8/functions/index"><code>index</code></a>, <a href="/5.39.8/functions/lc"><code>lc</code></a>, <a href="/5.39.8/functions/lcfirst"><code>lcfirst</code></a>, <a href="/5.39.8/functions/length"><code>length</code></a>, <a href="/5.39.8/functions/oct"><code>oct</code></a>, <a href="/5.39.8/functions/ord"><code>ord</code></a>, <a href="/5.39.8/functions/pack"><code>pack</code></a>, <a href="/5.39.8/functions/q%2FSTRING%2F"><code>q//</code></a>, <a href="/5.39.8/functions/qq%2FSTRING%2F"><code>qq//</code></a>, <a href="/5.39.8/functions/reverse"><code>reverse</code></a>, <a href="/5.39.8/functions/rindex"><code>rindex</code></a>, <a href="/5.39.8/functions/sprintf"><code>sprintf</code></a>, <a href="/5.39.8/functions/substr"><code>substr</code></a>, <a href="/5.39.8/functions/tr%2F%2F%2F"><code>tr///</code></a>, <a href="/5.39.8/functions/uc"><code>uc</code></a>, <a href="/5.39.8/functions/ucfirst"><code>ucfirst</code></a>, <a href="/5.39.8/functions/y%2F%2F%2F"><code>y///</code></a></p> <p><a href="/5.39.8/functions/fc"><code>fc</code></a> is available only if the <a href="/5.39.8/feature#The-%27fc%27-feature"><code>&quot;fc&quot;</code> feature</a> is enabled or if it is prefixed with <code>CORE::</code>. The <a href="/5.39.8/feature#The-%27fc%27-feature"><code>&quot;fc&quot;</code> feature</a> is enabled automatically with a <code>use v5.16</code> (or higher) declaration in the current scope.</p> </dd> <dt id="Regular-expressions-and-pattern-matching"><a class="permalink" href="#Regular-expressions-and-pattern-matching">#</a><a id="Regular"></a>Regular expressions and pattern matching </dt> <dd> <p><a href="/5.39.8/functions/m%2F%2F"><code>m//</code></a>, <a href="/5.39.8/functions/pos"><code>pos</code></a>, <a href="/5.39.8/functions/qr%2FSTRING%2F"><code>qr//</code></a>, <a href="/5.39.8/functions/quotemeta"><code>quotemeta</code></a>, <a href="/5.39.8/functions/s%2F%2F%2F"><code>s///</code></a>, <a href="/5.39.8/functions/split"><code>split</code></a>, <a href="/5.39.8/functions/study"><code>study</code></a></p> </dd> <dt id="Numeric-functions"><a class="permalink" href="#Numeric-functions">#</a><a id="Numeric"></a>Numeric functions </dt> <dd> <p><a href="/5.39.8/functions/abs"><code>abs</code></a>, <a href="/5.39.8/functions/atan2"><code>atan2</code></a>, <a href="/5.39.8/functions/cos"><code>cos</code></a>, <a href="/5.39.8/functions/exp"><code>exp</code></a>, <a href="/5.39.8/functions/hex"><code>hex</code></a>, <a href="/5.39.8/functions/int"><code>int</code></a>, <a href="/5.39.8/functions/log"><code>log</code></a>, <a href="/5.39.8/functions/oct"><code>oct</code></a>, <a href="/5.39.8/functions/rand"><code>rand</code></a>, <a href="/5.39.8/functions/sin"><code>sin</code></a>, <a href="/5.39.8/functions/sqrt"><code>sqrt</code></a>, <a href="/5.39.8/functions/srand"><code>srand</code></a></p> </dd> <dt id="Functions-for-real-@ARRAYs"><a class="permalink" href="#Functions-for-real-@ARRAYs">#</a><a id="Functions1"></a><a id="Functions-for-real-ARRAYs"></a>Functions for real @ARRAYs </dt> <dd> <p><a href="/5.39.8/functions/each"><code>each</code></a>, <a href="/5.39.8/functions/keys"><code>keys</code></a>, <a href="/5.39.8/functions/pop"><code>pop</code></a>, <a href="/5.39.8/functions/push"><code>push</code></a>, <a href="/5.39.8/functions/shift"><code>shift</code></a>, <a href="/5.39.8/functions/splice"><code>splice</code></a>, <a href="/5.39.8/functions/unshift"><code>unshift</code></a>, <a href="/5.39.8/functions/values"><code>values</code></a></p> </dd> <dt id="Functions-for-list-data"><a class="permalink" href="#Functions-for-list-data">#</a><a id="Functions2"></a>Functions for list data </dt> <dd> <p><a href="/5.39.8/functions/grep"><code>grep</code></a>, <a href="/5.39.8/functions/join"><code>join</code></a>, <a href="/5.39.8/functions/map"><code>map</code></a>, <a href="/5.39.8/functions/qw%2FSTRING%2F"><code>qw//</code></a>, <a href="/5.39.8/functions/reverse"><code>reverse</code></a>, <a href="/5.39.8/functions/sort"><code>sort</code></a>, <a href="/5.39.8/functions/unpack"><code>unpack</code></a></p> </dd> <dt id="Functions-for-real-%HASHes"><a class="permalink" href="#Functions-for-real-%25HASHes">#</a><a id="Functions3"></a><a id="Functions-for-real-HASHes"></a>Functions for real %HASHes </dt> <dd> <p><a href="/5.39.8/functions/delete"><code>delete</code></a>, <a href="/5.39.8/functions/each"><code>each</code></a>, <a href="/5.39.8/functions/exists"><code>exists</code></a>, <a href="/5.39.8/functions/keys"><code>keys</code></a>, <a href="/5.39.8/functions/values"><code>values</code></a></p> </dd> <dt id="Input-and-output-functions"><a class="permalink" href="#Input-and-output-functions">#</a><a id="Input"></a>Input and output functions </dt> <dd> <p><a href="/5.39.8/functions/binmode"><code>binmode</code></a>, <a href="/5.39.8/functions/close"><code>close</code></a>, <a href="/5.39.8/functions/closedir"><code>closedir</code></a>, <a href="/5.39.8/functions/dbmclose"><code>dbmclose</code></a>, <a href="/5.39.8/functions/dbmopen"><code>dbmopen</code></a>, <a href="/5.39.8/functions/die"><code>die</code></a>, <a href="/5.39.8/functions/eof"><code>eof</code></a>, <a href="/5.39.8/functions/fileno"><code>fileno</code></a>, <a href="/5.39.8/functions/flock"><code>flock</code></a>, <a href="/5.39.8/functions/format"><code>format</code></a>, <a href="/5.39.8/functions/getc"><code>getc</code></a>, <a href="/5.39.8/functions/print"><code>print</code></a>, <a href="/5.39.8/functions/printf"><code>printf</code></a>, <a href="/5.39.8/functions/read"><code>read</code></a>, <a href="/5.39.8/functions/readdir"><code>readdir</code></a>, <a href="/5.39.8/functions/readline"><code>readline</code></a>, <a href="/5.39.8/functions/rewinddir"><code>rewinddir</code></a>, <a href="/5.39.8/functions/say"><code>say</code></a>, <a href="/5.39.8/functions/seek"><code>seek</code></a>, <a href="/5.39.8/functions/seekdir"><code>seekdir</code></a>, <a href="/5.39.8/functions/select"><code>select</code></a>, <a href="/5.39.8/functions/syscall"><code>syscall</code></a>, <a href="/5.39.8/functions/sysread"><code>sysread</code></a>, <a href="/5.39.8/functions/sysseek"><code>sysseek</code></a>, <a href="/5.39.8/functions/syswrite"><code>syswrite</code></a>, <a href="/5.39.8/functions/tell"><code>tell</code></a>, <a href="/5.39.8/functions/telldir"><code>telldir</code></a>, <a href="/5.39.8/functions/truncate"><code>truncate</code></a>, <a href="/5.39.8/functions/warn"><code>warn</code></a>, <a href="/5.39.8/functions/write"><code>write</code></a></p> <p><a href="/5.39.8/functions/say"><code>say</code></a> is available only if the <a href="/5.39.8/feature#The-%27say%27-feature"><code>&quot;say&quot;</code> feature</a> is enabled or if it is prefixed with <code>CORE::</code>. The <a href="/5.39.8/feature#The-%27say%27-feature"><code>&quot;say&quot;</code> feature</a> is enabled automatically with a <code>use v5.10</code> (or higher) declaration in the current scope.</p> </dd> <dt id="Functions-for-fixed-length-data-or-records"><a class="permalink" href="#Functions-for-fixed-length-data-or-records">#</a><a id="Functions4"></a>Functions for fixed-length data or records</dt> <dd> <p><a href="/5.39.8/functions/pack"><code>pack</code></a>, <a href="/5.39.8/functions/read"><code>read</code></a>, <a href="/5.39.8/functions/syscall"><code>syscall</code></a>, <a href="/5.39.8/functions/sysread"><code>sysread</code></a>, <a href="/5.39.8/functions/sysseek"><code>sysseek</code></a>, <a href="/5.39.8/functions/syswrite"><code>syswrite</code></a>, <a href="/5.39.8/functions/unpack"><code>unpack</code></a>, <a href="/5.39.8/functions/vec"><code>vec</code></a></p> </dd> <dt id="Functions-for-filehandles,-files,-or-directories"><a class="permalink" href="#Functions-for-filehandles,-files,-or-directories">#</a><a id="Functions5"></a><a id="Functions-for-filehandles-files-or-directories"></a>Functions for filehandles, files, or directories </dt> <dd> <p><a href="/5.39.8/functions/-X"><code>-<i>X</i></code></a>, <a href="/5.39.8/functions/chdir"><code>chdir</code></a>, <a href="/5.39.8/functions/chmod"><code>chmod</code></a>, <a href="/5.39.8/functions/chown"><code>chown</code></a>, <a href="/5.39.8/functions/chroot"><code>chroot</code></a>, <a href="/5.39.8/functions/fcntl"><code>fcntl</code></a>, <a href="/5.39.8/functions/glob"><code>glob</code></a>, <a href="/5.39.8/functions/ioctl"><code>ioctl</code></a>, <a href="/5.39.8/functions/link"><code>link</code></a>, <a href="/5.39.8/functions/lstat"><code>lstat</code></a>, <a href="/5.39.8/functions/mkdir"><code>mkdir</code></a>, <a href="/5.39.8/functions/open"><code>open</code></a>, <a href="/5.39.8/functions/opendir"><code>opendir</code></a>, <a href="/5.39.8/functions/readlink"><code>readlink</code></a>, <a href="/5.39.8/functions/rename"><code>rename</code></a>, <a href="/5.39.8/functions/rmdir"><code>rmdir</code></a>, <a href="/5.39.8/functions/select"><code>select</code></a>, <a href="/5.39.8/functions/stat"><code>stat</code></a>, <a href="/5.39.8/functions/symlink"><code>symlink</code></a>, <a href="/5.39.8/functions/sysopen"><code>sysopen</code></a>, <a href="/5.39.8/functions/umask"><code>umask</code></a>, <a href="/5.39.8/functions/unlink"><code>unlink</code></a>, <a href="/5.39.8/functions/utime"><code>utime</code></a></p> </dd> <dt id="Keywords-related-to-the-control-flow-of-your-Perl-program"><a class="permalink" href="#Keywords-related-to-the-control-flow-of-your-Perl-program">#</a><a id="Keywords"></a>Keywords related to the control flow of your Perl program </dt> <dd> <p><a href="/5.39.8/functions/break"><code>break</code></a>, <a href="/5.39.8/functions/caller"><code>caller</code></a>, <a href="/5.39.8/functions/continue"><code>continue</code></a>, <a href="/5.39.8/functions/die"><code>die</code></a>, <a href="/5.39.8/functions/do"><code>do</code></a>, <a href="/5.39.8/functions/dump"><code>dump</code></a>, <a href="/5.39.8/functions/eval"><code>eval</code></a>, <a href="/5.39.8/functions/evalbytes"><code>evalbytes</code></a>, <a href="/5.39.8/functions/exit"><code>exit</code></a>, <a href="/5.39.8/functions/__FILE__"><code>__FILE__</code></a>, <a href="/5.39.8/functions/goto"><code>goto</code></a>, <a href="/5.39.8/functions/last"><code>last</code></a>, <a href="/5.39.8/functions/__LINE__"><code>__LINE__</code></a>, <a href="/5.39.8/functions/method"><code>method</code></a>, <a href="/5.39.8/functions/next"><code>next</code></a>, <a href="/5.39.8/functions/__PACKAGE__"><code>__PACKAGE__</code></a>, <a href="/5.39.8/functions/redo"><code>redo</code></a>, <a href="/5.39.8/functions/return"><code>return</code></a>, <a href="/5.39.8/functions/sub"><code>sub</code></a>, <a href="/5.39.8/functions/__SUB__"><code>__SUB__</code></a>, <a href="/5.39.8/functions/wantarray"><code>wantarray</code></a></p> <p><a href="/5.39.8/functions/break"><code>break</code></a> is available only if you enable the experimental <a href="/5.39.8/feature#The-%27switch%27-feature"><code>&quot;switch&quot;</code> feature</a> or use the <code>CORE::</code> prefix. The <a href="/5.39.8/feature#The-%27switch%27-feature"><code>&quot;switch&quot;</code> feature</a> also enables the <a href="/5.39.8/functions/default"><code>default</code></a>, <a href="/5.39.8/functions/given"><code>given</code></a> and <a href="/5.39.8/functions/when"><code>when</code></a> statements, which are documented in <a href="/5.39.8/perlsyn#Switch-Statements">&quot;Switch Statements&quot; in perlsyn</a>. The <a href="/5.39.8/feature#The-%27switch%27-feature"><code>&quot;switch&quot;</code> feature</a> is enabled automatically with a <code>use v5.10</code> (or higher) declaration in the current scope. In Perl v5.14 and earlier, <a href="/5.39.8/functions/continue"><code>continue</code></a> required the <a href="/5.39.8/feature#The-%27switch%27-feature"><code>&quot;switch&quot;</code> feature</a>, like the other keywords.</p> <p><a href="/5.39.8/functions/evalbytes"><code>evalbytes</code></a> is only available with the <a href="/5.39.8/feature#The-%27unicode_eval%27-and-%27evalbytes%27-features"><code>&quot;evalbytes&quot;</code> feature</a> (see <a href="/5.39.8/feature">feature</a>) or if prefixed with <code>CORE::</code>. <a href="/5.39.8/functions/__SUB__"><code>__SUB__</code></a> is only available with the <a href="/5.39.8/feature#The-%27current_sub%27-feature"><code>&quot;current_sub&quot;</code> feature</a> or if prefixed with <code>CORE::</code>. Both the <a href="/5.39.8/feature#The-%27unicode_eval%27-and-%27evalbytes%27-features"><code>&quot;evalbytes&quot;</code></a> and <a href="/5.39.8/feature#The-%27current_sub%27-feature"><code>&quot;current_sub&quot;</code></a> features are enabled automatically with a <code>use v5.16</code> (or higher) declaration in the current scope.</p> </dd> <dt id="Keywords-related-to-scoping"><a class="permalink" href="#Keywords-related-to-scoping">#</a><a id="Keywords1"></a>Keywords related to scoping</dt> <dd> <p><a href="/5.39.8/functions/caller"><code>caller</code></a>, <a href="/5.39.8/functions/class"><code>class</code></a>, <a href="/5.39.8/functions/field"><code>field</code></a>, <a href="/5.39.8/functions/import"><code>import</code></a>, <a href="/5.39.8/functions/local"><code>local</code></a>, <a href="/5.39.8/functions/my"><code>my</code></a>, <a href="/5.39.8/functions/our"><code>our</code></a>, <a href="/5.39.8/functions/package"><code>package</code></a>, <a href="/5.39.8/functions/state"><code>state</code></a>, <a href="/5.39.8/functions/use"><code>use</code></a></p> <p><a href="/5.39.8/functions/state"><code>state</code></a> is available only if the <a href="/5.39.8/feature#The-%27state%27-feature"><code>&quot;state&quot;</code> feature</a> is enabled or if it is prefixed with <code>CORE::</code>. The <a href="/5.39.8/feature#The-%27state%27-feature"><code>&quot;state&quot;</code> feature</a> is enabled automatically with a <code>use v5.10</code> (or higher) declaration in the current scope.</p> </dd> <dt id="Miscellaneous-functions"><a class="permalink" href="#Miscellaneous-functions">#</a><a id="Miscellaneous"></a>Miscellaneous functions</dt> <dd> <p><a href="/5.39.8/functions/defined"><code>defined</code></a>, <a href="/5.39.8/functions/formline"><code>formline</code></a>, <a href="/5.39.8/functions/lock"><code>lock</code></a>, <a href="/5.39.8/functions/prototype"><code>prototype</code></a>, <a href="/5.39.8/functions/reset"><code>reset</code></a>, <a href="/5.39.8/functions/scalar"><code>scalar</code></a>, <a href="/5.39.8/functions/undef"><code>undef</code></a></p> </dd> <dt id="Functions-for-processes-and-process-groups"><a class="permalink" href="#Functions-for-processes-and-process-groups">#</a><a id="Functions6"></a>Functions for processes and process groups </dt> <dd> <p><a href="/5.39.8/functions/alarm"><code>alarm</code></a>, <a href="/5.39.8/functions/exec"><code>exec</code></a>, <a href="/5.39.8/functions/fork"><code>fork</code></a>, <a href="/5.39.8/functions/getpgrp"><code>getpgrp</code></a>, <a href="/5.39.8/functions/getppid"><code>getppid</code></a>, <a href="/5.39.8/functions/getpriority"><code>getpriority</code></a>, <a href="/5.39.8/functions/kill"><code>kill</code></a>, <a href="/5.39.8/functions/pipe"><code>pipe</code></a>, <a href="/5.39.8/functions/qx%2FSTRING%2F"><code>qx//</code></a>, <a href="/5.39.8/functions/readpipe"><code>readpipe</code></a>, <a href="/5.39.8/functions/setpgrp"><code>setpgrp</code></a>, <a href="/5.39.8/functions/setpriority"><code>setpriority</code></a>, <a href="/5.39.8/functions/sleep"><code>sleep</code></a>, <a href="/5.39.8/functions/system"><code>system</code></a>, <a href="/5.39.8/functions/times"><code>times</code></a>, <a href="/5.39.8/functions/wait"><code>wait</code></a>, <a href="/5.39.8/functions/waitpid"><code>waitpid</code></a></p> </dd> <dt id="Keywords-related-to-Perl-modules"><a class="permalink" href="#Keywords-related-to-Perl-modules">#</a><a id="Keywords2"></a>Keywords related to Perl modules </dt> <dd> <p><a href="/5.39.8/functions/do"><code>do</code></a>, <a href="/5.39.8/functions/import"><code>import</code></a>, <a href="/5.39.8/functions/no"><code>no</code></a>, <a href="/5.39.8/functions/package"><code>package</code></a>, <a href="/5.39.8/functions/require"><code>require</code></a>, <a href="/5.39.8/functions/use"><code>use</code></a></p> </dd> <dt id="Keywords-related-to-classes-and-object-orientation"><a class="permalink" href="#Keywords-related-to-classes-and-object-orientation">#</a><a id="Keywords3"></a>Keywords related to classes and object-orientation </dt> <dd> <p><a href="/5.39.8/functions/bless"><code>bless</code></a>, <a href="/5.39.8/functions/class"><code>class</code></a>, <a href="/5.39.8/functions/__CLASS__"><code>__CLASS__</code></a>, <a href="/5.39.8/functions/dbmclose"><code>dbmclose</code></a>, <a href="/5.39.8/functions/dbmopen"><code>dbmopen</code></a>, <a href="/5.39.8/functions/field"><code>field</code></a>, <a href="/5.39.8/functions/method"><code>method</code></a>, <a href="/5.39.8/functions/package"><code>package</code></a>, <a href="/5.39.8/functions/ref"><code>ref</code></a>, <a href="/5.39.8/functions/tie"><code>tie</code></a>, <a href="/5.39.8/functions/tied"><code>tied</code></a>, <a href="/5.39.8/functions/untie"><code>untie</code></a>, <a href="/5.39.8/functions/use"><code>use</code></a></p> </dd> <dt id="Low-level-socket-functions"><a class="permalink" href="#Low-level-socket-functions">#</a><a id="Low"></a>Low-level socket functions </dt> <dd> <p><a href="/5.39.8/functions/accept"><code>accept</code></a>, <a href="/5.39.8/functions/bind"><code>bind</code></a>, <a href="/5.39.8/functions/connect"><code>connect</code></a>, <a href="/5.39.8/functions/getpeername"><code>getpeername</code></a>, <a href="/5.39.8/functions/getsockname"><code>getsockname</code></a>, <a href="/5.39.8/functions/getsockopt"><code>getsockopt</code></a>, <a href="/5.39.8/functions/listen"><code>listen</code></a>, <a href="/5.39.8/functions/recv"><code>recv</code></a>, <a href="/5.39.8/functions/send"><code>send</code></a>, <a href="/5.39.8/functions/setsockopt"><code>setsockopt</code></a>, <a href="/5.39.8/functions/shutdown"><code>shutdown</code></a>, <a href="/5.39.8/functions/socket"><code>socket</code></a>, <a href="/5.39.8/functions/socketpair"><code>socketpair</code></a></p> </dd> <dt id="System-V-interprocess-communication-functions"><a class="permalink" href="#System-V-interprocess-communication-functions">#</a><a id="System"></a>System V interprocess communication functions </dt> <dd> <p><a href="/5.39.8/functions/msgctl"><code>msgctl</code></a>, <a href="/5.39.8/functions/msgget"><code>msgget</code></a>, <a href="/5.39.8/functions/msgrcv"><code>msgrcv</code></a>, <a href="/5.39.8/functions/msgsnd"><code>msgsnd</code></a>, <a href="/5.39.8/functions/semctl"><code>semctl</code></a>, <a href="/5.39.8/functions/semget"><code>semget</code></a>, <a href="/5.39.8/functions/semop"><code>semop</code></a>, <a href="/5.39.8/functions/shmctl"><code>shmctl</code></a>, <a href="/5.39.8/functions/shmget"><code>shmget</code></a>, <a href="/5.39.8/functions/shmread"><code>shmread</code></a>, <a href="/5.39.8/functions/shmwrite"><code>shmwrite</code></a></p> </dd> <dt id="Fetching-user-and-group-info"><a class="permalink" href="#Fetching-user-and-group-info">#</a><a id="Fetching"></a>Fetching user and group info </dt> <dd> <p><a href="/5.39.8/functions/endgrent"><code>endgrent</code></a>, <a href="/5.39.8/functions/endhostent"><code>endhostent</code></a>, <a href="/5.39.8/functions/endnetent"><code>endnetent</code></a>, <a href="/5.39.8/functions/endpwent"><code>endpwent</code></a>, <a href="/5.39.8/functions/getgrent"><code>getgrent</code></a>, <a href="/5.39.8/functions/getgrgid"><code>getgrgid</code></a>, <a href="/5.39.8/functions/getgrnam"><code>getgrnam</code></a>, <a href="/5.39.8/functions/getlogin"><code>getlogin</code></a>, <a href="/5.39.8/functions/getpwent"><code>getpwent</code></a>, <a href="/5.39.8/functions/getpwnam"><code>getpwnam</code></a>, <a href="/5.39.8/functions/getpwuid"><code>getpwuid</code></a>, <a href="/5.39.8/functions/setgrent"><code>setgrent</code></a>, <a href="/5.39.8/functions/setpwent"><code>setpwent</code></a></p> </dd> <dt id="Fetching-network-info"><a class="permalink" href="#Fetching-network-info">#</a><a id="Fetching1"></a>Fetching network info </dt> <dd> <p><a href="/5.39.8/functions/endprotoent"><code>endprotoent</code></a>, <a href="/5.39.8/functions/endservent"><code>endservent</code></a>, <a href="/5.39.8/functions/gethostbyaddr"><code>gethostbyaddr</code></a>, <a href="/5.39.8/functions/gethostbyname"><code>gethostbyname</code></a>, <a href="/5.39.8/functions/gethostent"><code>gethostent</code></a>, <a href="/5.39.8/functions/getnetbyaddr"><code>getnetbyaddr</code></a>, <a href="/5.39.8/functions/getnetbyname"><code>getnetbyname</code></a>, <a href="/5.39.8/functions/getnetent"><code>getnetent</code></a>, <a href="/5.39.8/functions/getprotobyname"><code>getprotobyname</code></a>, <a href="/5.39.8/functions/getprotobynumber"><code>getprotobynumber</code></a>, <a href="/5.39.8/functions/getprotoent"><code>getprotoent</code></a>, <a href="/5.39.8/functions/getservbyname"><code>getservbyname</code></a>, <a href="/5.39.8/functions/getservbyport"><code>getservbyport</code></a>, <a href="/5.39.8/functions/getservent"><code>getservent</code></a>, <a href="/5.39.8/functions/sethostent"><code>sethostent</code></a>, <a href="/5.39.8/functions/setnetent"><code>setnetent</code></a>, <a href="/5.39.8/functions/setprotoent"><code>setprotoent</code></a>, <a href="/5.39.8/functions/setservent"><code>setservent</code></a></p> </dd> <dt id="Time-related-functions"><a class="permalink" href="#Time-related-functions">#</a><a id="Time"></a>Time-related functions </dt> <dd> <p><a href="/5.39.8/functions/gmtime"><code>gmtime</code></a>, <a href="/5.39.8/functions/localtime"><code>localtime</code></a>, <a href="/5.39.8/functions/time"><code>time</code></a>, <a href="/5.39.8/functions/times"><code>times</code></a></p> </dd> <dt id="Non-function-keywords"><a class="permalink" href="#Non-function-keywords">#</a><a id="Non"></a>Non-function keywords</dt> <dd> <p><a href="/5.39.8/functions/ADJUST"><code>ADJUST</code></a>, <a href="/5.39.8/functions/and"><code>and</code></a>, <a href="/5.39.8/functions/AUTOLOAD"><code>AUTOLOAD</code></a>, <a href="/5.39.8/functions/BEGIN"><code>BEGIN</code></a>, <a href="/5.39.8/functions/catch"><code>catch</code></a>, <a href="/5.39.8/functions/CHECK"><code>CHECK</code></a>, <a href="/5.39.8/functions/cmp"><code>cmp</code></a>, <a href="/5.39.8/functions/CORE"><code>CORE</code></a>, <a href="/5.39.8/functions/__DATA__"><code>__DATA__</code></a>, <a href="/5.39.8/functions/default"><code>default</code></a>, <a href="/5.39.8/functions/defer"><code>defer</code></a>, <a href="/5.39.8/functions/DESTROY"><code>DESTROY</code></a>, <a href="/5.39.8/functions/else"><code>else</code></a>, <a href="/5.39.8/functions/elseif"><code>elseif</code></a>, <a href="/5.39.8/functions/elsif"><code>elsif</code></a>, <a href="/5.39.8/functions/END"><code>END</code></a>, <a href="/5.39.8/functions/__END__"><code>__END__</code></a>, <a href="/5.39.8/functions/eq"><code>eq</code></a>, <a href="/5.39.8/functions/finally"><code>finally</code></a>, <a href="/5.39.8/functions/for"><code>for</code></a>, <a href="/5.39.8/functions/foreach"><code>foreach</code></a>, <a href="/5.39.8/functions/ge"><code>ge</code></a>, <a href="/5.39.8/functions/given"><code>given</code></a>, <a href="/5.39.8/functions/gt"><code>gt</code></a>, <a href="/5.39.8/functions/if"><code>if</code></a>, <a href="/5.39.8/functions/INIT"><code>INIT</code></a>, <a href="/5.39.8/functions/isa"><code>isa</code></a>, <a href="/5.39.8/functions/le"><code>le</code></a>, <a href="/5.39.8/functions/lt"><code>lt</code></a>, <a href="/5.39.8/functions/ne"><code>ne</code></a>, <a href="/5.39.8/functions/not"><code>not</code></a>, <a href="/5.39.8/functions/or"><code>or</code></a>, <a href="/5.39.8/functions/try"><code>try</code></a>, <a href="/5.39.8/functions/UNITCHECK"><code>UNITCHECK</code></a>, <a href="/5.39.8/functions/unless"><code>unless</code></a>, <a href="/5.39.8/functions/until"><code>until</code></a>, <a href="/5.39.8/functions/when"><code>when</code></a>, <a href="/5.39.8/functions/while"><code>while</code></a>, <a href="/5.39.8/functions/x"><code>x</code></a>, <a href="/5.39.8/functions/xor"><code>xor</code></a></p> </dd> </dl> <h2 id="Alphabetical-Listing-of-Perl-Functions"><a class="permalink" href="#Alphabetical-Listing-of-Perl-Functions">#</a><a id="Alphabetical"></a>Alphabetical Listing of Perl Functions</h2> <ul> <li><p><a href="/5.39.8/functions/-X"><code>-X</code></a> - a file test (-r, -x, etc)</p> </li> <li><p><a href="/5.39.8/functions/__CLASS__"><code>__CLASS__</code></a> - the class name of the current instance.</p> </li> <li><p><a href="/5.39.8/functions/__FILE__"><code>__FILE__</code></a> - the name of the current source file</p> </li> <li><p><a href="/5.39.8/functions/__LINE__"><code>__LINE__</code></a> - the current source line number</p> </li> <li><p><a href="/5.39.8/functions/__PACKAGE__"><code>__PACKAGE__</code></a> - the current package</p> </li> <li><p><a href="/5.39.8/functions/__SUB__"><code>__SUB__</code></a> - the current subroutine, or <a href="/5.39.8/functions/undef"><code>undef</code></a> if not in a subroutine</p> </li> <li><p><a href="/5.39.8/functions/abs"><code>abs</code></a> - absolute value function</p> </li> <li><p><a href="/5.39.8/functions/accept"><code>accept</code></a> - accept an incoming socket connect</p> </li> <li><p><a href="/5.39.8/functions/alarm"><code>alarm</code></a> - schedule a SIGALRM</p> </li> <li><p><a href="/5.39.8/functions/atan2"><code>atan2</code></a> - arctangent of Y/X in the range -PI to PI</p> </li> <li><p><a href="/5.39.8/functions/bind"><code>bind</code></a> - binds an address to a socket</p> </li> <li><p><a href="/5.39.8/functions/binmode"><code>binmode</code></a> - prepare binary files for I/O</p> </li> <li><p><a href="/5.39.8/functions/bless"><code>bless</code></a> - create an object</p> </li> <li><p><a href="/5.39.8/functions/break"><code>break</code></a> - break out of a <a href="/5.39.8/functions/given"><code>given</code></a> block</p> </li> <li><p><a href="/5.39.8/functions/caller"><code>caller</code></a> - get context of the current subroutine call</p> </li> <li><p><a href="/5.39.8/functions/chdir"><code>chdir</code></a> - change your current working directory</p> </li> <li><p><a href="/5.39.8/functions/chmod"><code>chmod</code></a> - changes the permissions on a list of files</p> </li> <li><p><a href="/5.39.8/functions/chomp"><code>chomp</code></a> - remove a trailing record separator from a string</p> </li> <li><p><a href="/5.39.8/functions/chop"><code>chop</code></a> - remove the last character from a string</p> </li> <li><p><a href="/5.39.8/functions/chown"><code>chown</code></a> - change the ownership on a list of files</p> </li> <li><p><a href="/5.39.8/functions/chr"><code>chr</code></a> - get character this number represents</p> </li> <li><p><a href="/5.39.8/functions/chroot"><code>chroot</code></a> - make directory new root for path lookups</p> </li> <li><p><a href="/5.39.8/functions/class"><code>class</code></a> - declare a separate global namespace that is an object class</p> </li> <li><p><a href="/5.39.8/functions/close"><code>close</code></a> - close file (or pipe or socket) handle</p> </li> <li><p><a href="/5.39.8/functions/closedir"><code>closedir</code></a> - close directory handle</p> </li> <li><p><a href="/5.39.8/functions/connect"><code>connect</code></a> - connect to a remote socket</p> </li> <li><p><a href="/5.39.8/functions/continue"><code>continue</code></a> - optional trailing block in a while or foreach</p> </li> <li><p><a href="/5.39.8/functions/cos"><code>cos</code></a> - cosine function</p> </li> <li><p><a href="/5.39.8/functions/crypt"><code>crypt</code></a> - one-way passwd-style encryption</p> </li> <li><p><a href="/5.39.8/functions/dbmclose"><code>dbmclose</code></a> - breaks binding on a tied dbm file</p> </li> <li><p><a href="/5.39.8/functions/dbmopen"><code>dbmopen</code></a> - create binding on a tied dbm file</p> </li> <li><p><a href="/5.39.8/functions/defined"><code>defined</code></a> - test whether a value, variable, or function is defined</p> </li> <li><p><a href="/5.39.8/functions/delete"><code>delete</code></a> - deletes a value from a hash</p> </li> <li><p><a href="/5.39.8/functions/die"><code>die</code></a> - raise an exception or bail out</p> </li> <li><p><a href="/5.39.8/functions/do"><code>do</code></a> - turn a BLOCK into a TERM</p> </li> <li><p><a href="/5.39.8/functions/dump"><code>dump</code></a> - create an immediate core dump</p> </li> <li><p><a href="/5.39.8/functions/each"><code>each</code></a> - retrieve the next key/value pair from a hash</p> </li> <li><p><a href="/5.39.8/functions/endgrent"><code>endgrent</code></a> - be done using group file</p> </li> <li><p><a href="/5.39.8/functions/endhostent"><code>endhostent</code></a> - be done using hosts file</p> </li> <li><p><a href="/5.39.8/functions/endnetent"><code>endnetent</code></a> - be done using networks file</p> </li> <li><p><a href="/5.39.8/functions/endprotoent"><code>endprotoent</code></a> - be done using protocols file</p> </li> <li><p><a href="/5.39.8/functions/endpwent"><code>endpwent</code></a> - be done using passwd file</p> </li> <li><p><a href="/5.39.8/functions/endservent"><code>endservent</code></a> - be done using services file</p> </li> <li><p><a href="/5.39.8/functions/eof"><code>eof</code></a> - test a filehandle for its end</p> </li> <li><p><a href="/5.39.8/functions/eval"><code>eval</code></a> - catch exceptions or compile and run code</p> </li> <li><p><a href="/5.39.8/functions/evalbytes"><code>evalbytes</code></a> - similar to string eval, but intend to parse a bytestream</p> </li> <li><p><a href="/5.39.8/functions/exec"><code>exec</code></a> - abandon this program to run another</p> </li> <li><p><a href="/5.39.8/functions/exists"><code>exists</code></a> - test whether a hash key is present</p> </li> <li><p><a href="/5.39.8/functions/exit"><code>exit</code></a> - terminate this program</p> </li> <li><p><a href="/5.39.8/functions/exp"><code>exp</code></a> - raise <i>e</i> to a power</p> </li> <li><p><a href="/5.39.8/functions/fc"><code>fc</code></a> - return casefolded version of a string</p> </li> <li><p><a href="/5.39.8/functions/fcntl"><code>fcntl</code></a> - file control system call</p> </li> <li><p><a href="/5.39.8/functions/field"><code>field</code></a> - declare a field variable of the current class</p> </li> <li><p><a href="/5.39.8/functions/fileno"><code>fileno</code></a> - return file descriptor from filehandle</p> </li> <li><p><a href="/5.39.8/functions/flock"><code>flock</code></a> - lock an entire file with an advisory lock</p> </li> <li><p><a href="/5.39.8/functions/fork"><code>fork</code></a> - create a new process just like this one</p> </li> <li><p><a href="/5.39.8/functions/format"><code>format</code></a> - declare a picture format with use by the write() function</p> </li> <li><p><a href="/5.39.8/functions/formline"><code>formline</code></a> - internal function used for formats</p> </li> <li><p><a href="/5.39.8/functions/getc"><code>getc</code></a> - get the next character from the filehandle</p> </li> <li><p><a href="/5.39.8/functions/getgrent"><code>getgrent</code></a> - get next group record</p> </li> <li><p><a href="/5.39.8/functions/getgrgid"><code>getgrgid</code></a> - get group record given group user ID</p> </li> <li><p><a href="/5.39.8/functions/getgrnam"><code>getgrnam</code></a> - get group record given group name</p> </li> <li><p><a href="/5.39.8/functions/gethostbyaddr"><code>gethostbyaddr</code></a> - get host record given its address</p> </li> <li><p><a href="/5.39.8/functions/gethostbyname"><code>gethostbyname</code></a> - get host record given name</p> </li> <li><p><a href="/5.39.8/functions/gethostent"><code>gethostent</code></a> - get next hosts record</p> </li> <li><p><a href="/5.39.8/functions/getlogin"><code>getlogin</code></a> - return who logged in at this tty</p> </li> <li><p><a href="/5.39.8/functions/getnetbyaddr"><code>getnetbyaddr</code></a> - get network record given its address</p> </li> <li><p><a href="/5.39.8/functions/getnetbyname"><code>getnetbyname</code></a> - get networks record given name</p> </li> <li><p><a href="/5.39.8/functions/getnetent"><code>getnetent</code></a> - get next networks record</p> </li> <li><p><a href="/5.39.8/functions/getpeername"><code>getpeername</code></a> - find the other end of a socket connection</p> </li> <li><p><a href="/5.39.8/functions/getpgrp"><code>getpgrp</code></a> - get process group</p> </li> <li><p><a href="/5.39.8/functions/getppid"><code>getppid</code></a> - get parent process ID</p> </li> <li><p><a href="/5.39.8/functions/getpriority"><code>getpriority</code></a> - get current nice value</p> </li> <li><p><a href="/5.39.8/functions/getprotobyname"><code>getprotobyname</code></a> - get protocol record given name</p> </li> <li><p><a href="/5.39.8/functions/getprotobynumber"><code>getprotobynumber</code></a> - get protocol record numeric protocol</p> </li> <li><p><a href="/5.39.8/functions/getprotoent"><code>getprotoent</code></a> - get next protocols record</p> </li> <li><p><a href="/5.39.8/functions/getpwent"><code>getpwent</code></a> - get next passwd record</p> </li> <li><p><a href="/5.39.8/functions/getpwnam"><code>getpwnam</code></a> - get passwd record given user login name</p> </li> <li><p><a href="/5.39.8/functions/getpwuid"><code>getpwuid</code></a> - get passwd record given user ID</p> </li> <li><p><a href="/5.39.8/functions/getservbyname"><code>getservbyname</code></a> - get services record given its name</p> </li> <li><p><a href="/5.39.8/functions/getservbyport"><code>getservbyport</code></a> - get services record given numeric port</p> </li> <li><p><a href="/5.39.8/functions/getservent"><code>getservent</code></a> - get next services record</p> </li> <li><p><a href="/5.39.8/functions/getsockname"><code>getsockname</code></a> - retrieve the sockaddr for a given socket</p> </li> <li><p><a href="/5.39.8/functions/getsockopt"><code>getsockopt</code></a> - get socket options on a given socket</p> </li> <li><p><a href="/5.39.8/functions/glob"><code>glob</code></a> - expand filenames using wildcards</p> </li> <li><p><a href="/5.39.8/functions/gmtime"><code>gmtime</code></a> - convert UNIX time into record or string using Greenwich time</p> </li> <li><p><a href="/5.39.8/functions/goto"><code>goto</code></a> - create spaghetti code</p> </li> <li><p><a href="/5.39.8/functions/grep"><code>grep</code></a> - locate elements in a list test true against a given criterion</p> </li> <li><p><a href="/5.39.8/functions/hex"><code>hex</code></a> - convert a hexadecimal string to a number</p> </li> <li><p><a href="/5.39.8/functions/import"><code>import</code></a> - patch a module&#39;s namespace into your own</p> </li> <li><p><a href="/5.39.8/functions/index"><code>index</code></a> - find a substring within a string</p> </li> <li><p><a href="/5.39.8/functions/int"><code>int</code></a> - get the integer portion of a number</p> </li> <li><p><a href="/5.39.8/functions/ioctl"><code>ioctl</code></a> - system-dependent device control system call</p> </li> <li><p><a href="/5.39.8/functions/join"><code>join</code></a> - join a list into a string using a separator</p> </li> <li><p><a href="/5.39.8/functions/keys"><code>keys</code></a> - retrieve list of indices from a hash</p> </li> <li><p><a href="/5.39.8/functions/kill"><code>kill</code></a> - send a signal to a process or process group</p> </li> <li><p><a href="/5.39.8/functions/last"><code>last</code></a> - exit a block prematurely</p> </li> <li><p><a href="/5.39.8/functions/lc"><code>lc</code></a> - return lower-case version of a string</p> </li> <li><p><a href="/5.39.8/functions/lcfirst"><code>lcfirst</code></a> - return a string with just the next letter in lower case</p> </li> <li><p><a href="/5.39.8/functions/length"><code>length</code></a> - return the number of characters in a string</p> </li> <li><p><a href="/5.39.8/functions/link"><code>link</code></a> - create a hard link in the filesystem</p> </li> <li><p><a href="/5.39.8/functions/listen"><code>listen</code></a> - register your socket as a server</p> </li> <li><p><a href="/5.39.8/functions/local"><code>local</code></a> - create a temporary value for a global variable (dynamic scoping)</p> </li> <li><p><a href="/5.39.8/functions/localtime"><code>localtime</code></a> - convert UNIX time into record or string using local time</p> </li> <li><p><a href="/5.39.8/functions/lock"><code>lock</code></a> - get a thread lock on a variable, subroutine, or method</p> </li> <li><p><a href="/5.39.8/functions/log"><code>log</code></a> - retrieve the natural logarithm for a number</p> </li> <li><p><a href="/5.39.8/functions/lstat"><code>lstat</code></a> - stat a symbolic link</p> </li> <li><p><a href="/5.39.8/functions/m"><code>m//</code></a> - match a string with a regular expression pattern</p> </li> <li><p><a href="/5.39.8/functions/map"><code>map</code></a> - apply a change to a list to get back a new list with the changes</p> </li> <li><p><a href="/5.39.8/functions/method"><code>method</code></a> - declare a method of a class</p> </li> <li><p><a href="/5.39.8/functions/mkdir"><code>mkdir</code></a> - create a directory</p> </li> <li><p><a href="/5.39.8/functions/msgctl"><code>msgctl</code></a> - SysV IPC message control operations</p> </li> <li><p><a href="/5.39.8/functions/msgget"><code>msgget</code></a> - get SysV IPC message queue</p> </li> <li><p><a href="/5.39.8/functions/msgrcv"><code>msgrcv</code></a> - receive a SysV IPC message from a message queue</p> </li> <li><p><a href="/5.39.8/functions/msgsnd"><code>msgsnd</code></a> - send a SysV IPC message to a message queue</p> </li> <li><p><a href="/5.39.8/functions/my"><code>my</code></a> - declare and assign a local variable (lexical scoping)</p> </li> <li><p><a href="/5.39.8/functions/next"><code>next</code></a> - iterate a block prematurely</p> </li> <li><p><a href="/5.39.8/functions/no"><code>no</code></a> - unimport some module symbols or semantics at compile time</p> </li> <li><p><a href="/5.39.8/functions/oct"><code>oct</code></a> - convert a string to an octal number</p> </li> <li><p><a href="/5.39.8/functions/open"><code>open</code></a> - open a file, pipe, or descriptor</p> </li> <li><p><a href="/5.39.8/functions/opendir"><code>opendir</code></a> - open a directory</p> </li> <li><p><a href="/5.39.8/functions/ord"><code>ord</code></a> - find a character&#39;s code point</p> </li> <li><p><a href="/5.39.8/functions/our"><code>our</code></a> - declare and assign a package variable (lexical scoping)</p> </li> <li><p><a href="/5.39.8/functions/pack"><code>pack</code></a> - convert a list into a binary representation</p> </li> <li><p><a href="/5.39.8/functions/package"><code>package</code></a> - declare a separate global namespace</p> </li> <li><p><a href="/5.39.8/functions/pipe"><code>pipe</code></a> - open a pair of connected filehandles</p> </li> <li><p><a href="/5.39.8/functions/pop"><code>pop</code></a> - remove the last element from an array and return it</p> </li> <li><p><a href="/5.39.8/functions/pos"><code>pos</code></a> - find or set the offset for the last/next m//g search</p> </li> <li><p><a href="/5.39.8/functions/print"><code>print</code></a> - output a list to a filehandle</p> </li> <li><p><a href="/5.39.8/functions/printf"><code>printf</code></a> - output a formatted list to a filehandle</p> </li> <li><p><a href="/5.39.8/functions/prototype"><code>prototype</code></a> - get the prototype (if any) of a subroutine</p> </li> <li><p><a href="/5.39.8/functions/push"><code>push</code></a> - append one or more elements to an array</p> </li> <li><p><a href="/5.39.8/functions/q%2FSTRING%2F"><code>q/STRING/</code></a> - singly quote a string</p> </li> <li><p><a href="/5.39.8/functions/qq%2FSTRING%2F"><code>qq/STRING/</code></a> - doubly quote a string</p> </li> <li><p><a href="/5.39.8/functions/qr%2FSTRING%2F"><code>qr/STRING/</code></a> - compile pattern</p> </li> <li><p><a href="/5.39.8/functions/quotemeta"><code>quotemeta</code></a> - quote regular expression magic characters</p> </li> <li><p><a href="/5.39.8/functions/qw%2FSTRING%2F"><code>qw/STRING/</code></a> - quote a list of words</p> </li> <li><p><a href="/5.39.8/functions/qx%2FSTRING%2F"><code>qx/STRING/</code></a> - backquote quote a string</p> </li> <li><p><a href="/5.39.8/functions/rand"><code>rand</code></a> - retrieve the next pseudorandom number</p> </li> <li><p><a href="/5.39.8/functions/read"><code>read</code></a> - fixed-length buffered input from a filehandle</p> </li> <li><p><a href="/5.39.8/functions/readdir"><code>readdir</code></a> - get a directory from a directory handle</p> </li> <li><p><a href="/5.39.8/functions/readline"><code>readline</code></a> - fetch a record from a file</p> </li> <li><p><a href="/5.39.8/functions/readlink"><code>readlink</code></a> - determine where a symbolic link is pointing</p> </li> <li><p><a href="/5.39.8/functions/readpipe"><code>readpipe</code></a> - execute a system command and collect standard output</p> </li> <li><p><a href="/5.39.8/functions/recv"><code>recv</code></a> - receive a message over a Socket</p> </li> <li><p><a href="/5.39.8/functions/redo"><code>redo</code></a> - start this loop iteration over again</p> </li> <li><p><a href="/5.39.8/functions/ref"><code>ref</code></a> - find out the type of thing being referenced</p> </li> <li><p><a href="/5.39.8/functions/rename"><code>rename</code></a> - change a filename</p> </li> <li><p><a href="/5.39.8/functions/require"><code>require</code></a> - load in external functions from a library at runtime</p> </li> <li><p><a href="/5.39.8/functions/reset"><code>reset</code></a> - clear all variables of a given name</p> </li> <li><p><a href="/5.39.8/functions/return"><code>return</code></a> - get out of a function early</p> </li> <li><p><a href="/5.39.8/functions/reverse"><code>reverse</code></a> - flip a string or a list</p> </li> <li><p><a href="/5.39.8/functions/rewinddir"><code>rewinddir</code></a> - reset directory handle</p> </li> <li><p><a href="/5.39.8/functions/rindex"><code>rindex</code></a> - right-to-left substring search</p> </li> <li><p><a href="/5.39.8/functions/rmdir"><code>rmdir</code></a> - remove a directory</p> </li> <li><p><a href="/5.39.8/functions/s"><code>s///</code></a> - replace a pattern with a string</p> </li> <li><p><a href="/5.39.8/functions/say"><code>say</code></a> - output a list to a filehandle, appending a newline</p> </li> <li><p><a href="/5.39.8/functions/scalar"><code>scalar</code></a> - force a scalar context</p> </li> <li><p><a href="/5.39.8/functions/seek"><code>seek</code></a> - reposition file pointer for random-access I/O</p> </li> <li><p><a href="/5.39.8/functions/seekdir"><code>seekdir</code></a> - reposition directory pointer</p> </li> <li><p><a href="/5.39.8/functions/select"><code>select</code></a> - reset default output or do I/O multiplexing</p> </li> <li><p><a href="/5.39.8/functions/semctl"><code>semctl</code></a> - SysV semaphore control operations</p> </li> <li><p><a href="/5.39.8/functions/semget"><code>semget</code></a> - get set of SysV semaphores</p> </li> <li><p><a href="/5.39.8/functions/semop"><code>semop</code></a> - SysV semaphore operations</p> </li> <li><p><a href="/5.39.8/functions/send"><code>send</code></a> - send a message over a socket</p> </li> <li><p><a href="/5.39.8/functions/setgrent"><code>setgrent</code></a> - prepare group file for use</p> </li> <li><p><a href="/5.39.8/functions/sethostent"><code>sethostent</code></a> - prepare hosts file for use</p> </li> <li><p><a href="/5.39.8/functions/setnetent"><code>setnetent</code></a> - prepare networks file for use</p> </li> <li><p><a href="/5.39.8/functions/setpgrp"><code>setpgrp</code></a> - set the process group of a process</p> </li> <li><p><a href="/5.39.8/functions/setpriority"><code>setpriority</code></a> - set a process&#39;s nice value</p> </li> <li><p><a href="/5.39.8/functions/setprotoent"><code>setprotoent</code></a> - prepare protocols file for use</p> </li> <li><p><a href="/5.39.8/functions/setpwent"><code>setpwent</code></a> - prepare passwd file for use</p> </li> <li><p><a href="/5.39.8/functions/setservent"><code>setservent</code></a> - prepare services file for use</p> </li> <li><p><a href="/5.39.8/functions/setsockopt"><code>setsockopt</code></a> - set some socket options</p> </li> <li><p><a href="/5.39.8/functions/shift"><code>shift</code></a> - remove the first element of an array, and return it</p> </li> <li><p><a href="/5.39.8/functions/shmctl"><code>shmctl</code></a> - SysV shared memory operations</p> </li> <li><p><a href="/5.39.8/functions/shmget"><code>shmget</code></a> - get SysV shared memory segment identifier</p> </li> <li><p><a href="/5.39.8/functions/shmread"><code>shmread</code></a> - read SysV shared memory</p> </li> <li><p><a href="/5.39.8/functions/shmwrite"><code>shmwrite</code></a> - write SysV shared memory</p> </li> <li><p><a href="/5.39.8/functions/shutdown"><code>shutdown</code></a> - close down just half of a socket connection</p> </li> <li><p><a href="/5.39.8/functions/sin"><code>sin</code></a> - return the sine of a number</p> </li> <li><p><a href="/5.39.8/functions/sleep"><code>sleep</code></a> - block for some number of seconds</p> </li> <li><p><a href="/5.39.8/functions/socket"><code>socket</code></a> - create a socket</p> </li> <li><p><a href="/5.39.8/functions/socketpair"><code>socketpair</code></a> - create a pair of sockets</p> </li> <li><p><a href="/5.39.8/functions/sort"><code>sort</code></a> - sort a list of values</p> </li> <li><p><a href="/5.39.8/functions/splice"><code>splice</code></a> - add or remove elements anywhere in an array</p> </li> <li><p><a href="/5.39.8/functions/split"><code>split</code></a> - split up a string using a regexp delimiter</p> </li> <li><p><a href="/5.39.8/functions/sprintf"><code>sprintf</code></a> - formatted print into a string</p> </li> <li><p><a href="/5.39.8/functions/sqrt"><code>sqrt</code></a> - square root function</p> </li> <li><p><a href="/5.39.8/functions/srand"><code>srand</code></a> - seed the random number generator</p> </li> <li><p><a href="/5.39.8/functions/stat"><code>stat</code></a> - get a file&#39;s status information</p> </li> <li><p><a href="/5.39.8/functions/state"><code>state</code></a> - declare and assign a persistent lexical variable</p> </li> <li><p><a href="/5.39.8/functions/study"><code>study</code></a> - no-op, formerly optimized input data for repeated searches</p> </li> <li><p><a href="/5.39.8/functions/sub"><code>sub</code></a> - declare a subroutine, possibly anonymously</p> </li> <li><p><a href="/5.39.8/functions/substr"><code>substr</code></a> - get or alter a portion of a string</p> </li> <li><p><a href="/5.39.8/functions/symlink"><code>symlink</code></a> - create a symbolic link to a file</p> </li> <li><p><a href="/5.39.8/functions/syscall"><code>syscall</code></a> - execute an arbitrary system call</p> </li> <li><p><a href="/5.39.8/functions/sysopen"><code>sysopen</code></a> - open a file, pipe, or descriptor</p> </li> <li><p><a href="/5.39.8/functions/sysread"><code>sysread</code></a> - fixed-length unbuffered input from a filehandle</p> </li> <li><p><a href="/5.39.8/functions/sysseek"><code>sysseek</code></a> - position I/O pointer on handle used with sysread and syswrite</p> </li> <li><p><a href="/5.39.8/functions/system"><code>system</code></a> - run a separate program</p> </li> <li><p><a href="/5.39.8/functions/syswrite"><code>syswrite</code></a> - fixed-length unbuffered output to a filehandle</p> </li> <li><p><a href="/5.39.8/functions/tell"><code>tell</code></a> - get current seekpointer on a filehandle</p> </li> <li><p><a href="/5.39.8/functions/telldir"><code>telldir</code></a> - get current seekpointer on a directory handle</p> </li> <li><p><a href="/5.39.8/functions/tie"><code>tie</code></a> - bind a variable to an object class</p> </li> <li><p><a href="/5.39.8/functions/tied"><code>tied</code></a> - get a reference to the object underlying a tied variable</p> </li> <li><p><a href="/5.39.8/functions/time"><code>time</code></a> - return number of seconds since 1970</p> </li> <li><p><a href="/5.39.8/functions/times"><code>times</code></a> - return elapsed time for self and child processes</p> </li> <li><p><a href="/5.39.8/functions/tr"><code>tr///</code></a> - transliterate a string</p> </li> <li><p><a href="/5.39.8/functions/truncate"><code>truncate</code></a> - shorten a file</p> </li> <li><p><a href="/5.39.8/functions/uc"><code>uc</code></a> - return upper-case version of a string</p> </li> <li><p><a href="/5.39.8/functions/ucfirst"><code>ucfirst</code></a> - return a string with the first letter in upper case</p> </li> <li><p><a href="/5.39.8/functions/umask"><code>umask</code></a> - set file creation mode mask</p> </li> <li><p><a href="/5.39.8/functions/undef"><code>undef</code></a> - remove a variable or function definition</p> </li> <li><p><a href="/5.39.8/functions/unlink"><code>unlink</code></a> - remove one link to a file</p> </li> <li><p><a href="/5.39.8/functions/unpack"><code>unpack</code></a> - convert binary structure into normal perl variables</p> </li> <li><p><a href="/5.39.8/functions/unshift"><code>unshift</code></a> - prepend more elements to the beginning of a list</p> </li> <li><p><a href="/5.39.8/functions/untie"><code>untie</code></a> - break a tie binding to a variable</p> </li> <li><p><a href="/5.39.8/functions/use"><code>use</code></a> - enable Perl language features and declare required version</p> </li> <li><p><a href="/5.39.8/functions/utime"><code>utime</code></a> - set a file&#39;s last access and modify times</p> </li> <li><p><a href="/5.39.8/functions/values"><code>values</code></a> - return a list of the values in a hash</p> </li> <li><p><a href="/5.39.8/functions/vec"><code>vec</code></a> - test or set particular bits in a string</p> </li> <li><p><a href="/5.39.8/functions/wait"><code>wait</code></a> - wait for any child process to die</p> </li> <li><p><a href="/5.39.8/functions/waitpid"><code>waitpid</code></a> - wait for a particular child process to die</p> </li> <li><p><a href="/5.39.8/functions/wantarray"><code>wantarray</code></a> - get void vs scalar vs list context of current subroutine call</p> </li> <li><p><a href="/5.39.8/functions/warn"><code>warn</code></a> - print debugging info</p> </li> <li><p><a href="/5.39.8/functions/write"><code>write</code></a> - print a picture record</p> </li> <li><p><a href="/5.39.8/functions/y"><code>y///</code></a> - transliterate a string</p> </li> </ul> </div> <div id="footer"> <p>Perldoc Browser is maintained by Dan Book (<a href="https://metacpan.org/author/DBOOK">DBOOK</a>). Please contact him via the <a href="https://github.com/Grinnz/perldoc-browser/issues">GitHub issue tracker</a> or <a href="mailto:dbook@cpan.org">email</a> regarding any issues with the site itself, search, or rendering of documentation.</p> <p>The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via the <a href="https://github.com/Perl/perl5/issues">Perl issue tracker</a>, the <a href="https://lists.perl.org/list/perl5-porters.html">mailing list</a>, or <a href="https://kiwiirc.com/client/irc.perl.org/p5p">IRC</a> to report any issues with the contents or format of the documentation.</p> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js" integrity="sha512-/DXTXr6nQodMUiq+IUJYCt2PPOUjrHJ9wFrqpJ3XkgPNOZVfMok7cRw6CSxyCQxXn6ozlESsSh1/sMCTF1rL/g==" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js" integrity="sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script> <script src="/highlight.pack.js"></script> <script>hljs.highlightAll();</script> </body> </html>

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