From: Gurusamy Sarathy Date: Sun, 19 Mar 2000 18:01:28 +0000 (+0000) Subject: pwent.pm doc tweak (from Tom Christiansen) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2c3c3b7c202d038a04e75a75246fb22b78df4121;p=p5sagit%2Fp5-mst-13.2.git pwent.pm doc tweak (from Tom Christiansen) p4raw-id: //depot/perl@5832 --- diff --git a/lib/User/pwent.pm b/lib/User/pwent.pm index 31cf742..f41aa2a 100644 --- a/lib/User/pwent.pm +++ b/lib/User/pwent.pm @@ -209,7 +209,7 @@ User::pwent - by-name interface to Perl's built-in getpw*() functions use User::pwent qw/:DEFAULT pw_has/; if (pw_has(qw[gecos expire quota])) { .... } if (pw_has("name uid gid passwd")) { .... } - print "Your struct pwd has: ", pw_has(), "\n"; + print "Your struct pwd has: ", scalar pw_has(), "\n"; =head1 DESCRIPTION @@ -220,7 +220,7 @@ similarly named structure field name from the C's passwd structure from F, stripped of their leading "pw_" parts, namely C, C, C, C, C, C, C, C, C, C, C, C, and C. The C, -C, and C fields should be considered tainted. +C, and C fields are tainted when running in taint mode. You may also import all the structure fields directly into your namespace as regular variables using the :FIELDS import tag. (Note