X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/40454f2627208fbd759d13437538e524c882cfac..c9da69fb2cff080fa286bf64ac1d12f81bab3bf6:/pod/perlfunc.pod diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 96bb041..d638cc1 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -1,4 +1,5 @@ =head1 NAME +X perlfunc - Perl builtin functions @@ -25,7 +26,7 @@ with LIST as an argument. Such a list may consist of any combination of scalar arguments or list values; the list values will be included in the list as if each individual element were interpolated at that point in the list, forming a longer single-dimensional list value. -Elements of the LIST should be separated by commas. +Commas should separate elements of the LIST. Any function in the list below may be used either with or without parentheses around its arguments. (The syntax descriptions omit the @@ -68,6 +69,7 @@ operators return the first value in the list. Some operators return the last value in the list. Some operators return a count of successful operations. In general, they do what you want, unless you want consistency. +X A named array in scalar context is quite different from what would at first glance appear to be a list in scalar context. You can't get a list @@ -85,6 +87,7 @@ C, and C. System calls also set the special C<$!> variable on failure. Other functions do not, except accidentally. =head2 Perl Functions by Category +X Here are Perl's functions (including things that look like functions, like some keywords and named operators) @@ -94,37 +97,44 @@ than one place. =over 4 =item Functions for SCALARs or strings +X X X C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C =item Regular expressions and pattern matching +X X X C, C, C, C, C, C, C =item Numeric functions +X X X X C, C, C, C, C, C, C, C, C, C, C, C =item Functions for real @ARRAYs +X C, C, C, C, C =item Functions for list data +X C, C, C, C, C, C, C =item Functions for real %HASHes +X C, C, C, C, C =item Input and output functions +X X X X C, C, C, C, C, C, C, C, C, C, C, C, C, C, -C, C, C, C, C, C, C, C, C, C, C, C, C, C @@ -133,17 +143,26 @@ C, C C, C, C, C, C, C, C =item Functions for filehandles, files, or directories +X X X X X X C<-I>, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C -=item Keywords related to the control flow of your perl program +=item Keywords related to the control flow of your Perl program +X C, C, C, C, C, C, C, C, C, C, C, C, C, C +=item Keywords related to switch + +C, C + +(These are only available if you enable the "switch" feature. +See L and L.) + =item Keywords related to scoping C, C, C, C, C, C, C @@ -154,38 +173,45 @@ C, C, C, C, C, C, C, C, C, C, C =item Functions for processes and process groups +X X X C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C =item Keywords related to perl modules +X C, C, C, C, C, C =item Keywords related to classes and object-orientedness +X X X C, C, C, C, C, C, C, C, C =item Low-level socket functions +X X C, C, C, C, C, C, C, C, C, C, C, C, C =item System V interprocess communication functions +X X X X X X C, C, C, C, C, C, C, C, C, C, C =item Fetching user and group info +X X X X X X X C, C, C, C, C, C, C, C, C, C, C, C, C =item Fetching network info +X X X X X X
X C, C, C, C, C, C, C, C, @@ -194,15 +220,17 @@ C, C, C, C, C, C, C =item Time-related functions +X