summaryrefslogtreecommitdiff
path: root/lib/User
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-19 18:01:28 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-19 18:01:28 +0000
commit2c3c3b7c202d038a04e75a75246fb22b78df4121 (patch)
treec2ac692ff59fb479e7327c7a751026be1950987d /lib/User
parent07eb8ee282b50089a8093dabf88ba738c33af5ad (diff)
downloadperl-2c3c3b7c202d038a04e75a75246fb22b78df4121.tar.gz
pwent.pm doc tweak (from Tom Christiansen)
p4raw-id: //depot/perl@5832
Diffstat (limited to 'lib/User')
-rw-r--r--lib/User/pwent.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/User/pwent.pm b/lib/User/pwent.pm
index 31cf74227c..f41aa2ab5a 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<pwd.h>, stripped of their leading "pw_" parts, namely C<name>,
C<passwd>, C<uid>, C<gid>, C<change>, C<age>, C<quota>, C<comment>,
C<class>, C<gecos>, C<dir>, C<shell>, and C<expire>. The C<passwd>,
-C<gecos>, and C<shell> fields should be considered tainted.
+C<gecos>, and C<shell> 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