X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/f464ba52b9670216e4d7f1e806fdbca7fb072215..187a5aa6a4d7c9f1fb9d55ab81e9f793b396e24a:/pod/perlfunc.pod diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index dcb1371..599017b 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, 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 +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,59 +143,79 @@ 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, C, 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 +C, C, C, C, C, C, C, +C + +(C is only available if the "state" feature is enabled. See +L.) =item Miscellaneous functions -C, C, C, C, C, C, C, C, -C, C, C +C, 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, 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 +224,18 @@ C, C, C, C, C, C, C =item Time-related functions +X