In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/f0081f64cc268c6765e7cdc0539513842b398eb3?hp=08a33b6b0b73cadc9417b2e9e278d4bf6db28233>

- Log -----------------------------------------------------------------
commit f0081f64cc268c6765e7cdc0539513842b398eb3
Author: Aristotle Pagaltzis <[email protected]>
Date:   Tue Mar 11 13:58:19 2014 +0100

    perlfunc: layout getpw*&c return values as a table
-----------------------------------------------------------------------

Summary of changes:
 pod/perlfunc.pod | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 4a3893a..065e2e4 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -2684,13 +2684,15 @@ These routines are the same as their counterparts in the
 system C library.  In list context, the return values from the
 various get routines are as follows:
 
-    ($name,$passwd,$uid,$gid,
-       $quota,$comment,$gcos,$dir,$shell,$expire) = getpw*
-    ($name,$passwd,$gid,$members) = getgr*
-    ($name,$aliases,$addrtype,$length,@addrs) = gethost*
-    ($name,$aliases,$addrtype,$net) = getnet*
-    ($name,$aliases,$proto) = getproto*
-    ($name,$aliases,$port,$proto) = getserv*
+ # 0        1          2           3         4
+ ( $name,   $passwd,   $gid,       $members  ) = getgr*
+ ( $name,   $aliases,  $addrtype,  $net      ) = getnet*
+ ( $name,   $aliases,  $port,      $proto    ) = getserv*
+ ( $name,   $aliases,  $proto                ) = getproto*
+ ( $name,   $aliases,  $addrtype,  $length,  @addrs ) = gethost*
+ ( $name,   $passwd,   $uid,       $gid,     $quota,
+ $comment,  $gcos,     $dir,       $shell,   $expire ) = getpw*
+ # 5        6          7           8         9
 
 (If the entry doesn't exist you get an empty list.)
 

--
Perl5 Master Repository

Reply via email to