diff options
author | Andy Lester <andy@petdance.com> | 2003-03-22 05:02:31 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-03-26 19:33:09 +0000 |
commit | 09e367548f5622c5830617d648540b181c40aa53 (patch) | |
tree | ae76a370f98000f407f997e62a6dadbd176f5f1e /lib | |
parent | 8c499071c018a805b437b1333e4cbf4646a1956e (diff) | |
download | perl-09e367548f5622c5830617d648540b181c40aa53.tar.gz |
[perl #21648] Doc typo in Net::servent
From: Andy Lester (via RT) <perlbug-followup@perl.org>
Message-Id: <rt-21648-53986.0.682889311382979@bugs6.perl.org>
p4raw-id: //depot/perl@19063
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Net/servent.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Net/servent.pm b/lib/Net/servent.pm index 63ae3079fe..21012cb3cc 100644 --- a/lib/Net/servent.pm +++ b/lib/Net/servent.pm @@ -74,10 +74,10 @@ method returns an array reference, the rest scalars. You may also import all the structure fields directly into your namespace as regular variables using the :FIELDS import tag. (Note that this still overrides your core functions.) Access these fields as variables named -with a preceding C<n_>. Thus, C<$serv_obj-E<gt>name()> corresponds to +with a preceding C<s_>. Thus, C<$serv_obj-E<gt>name()> corresponds to $s_name if you import the fields. Array references are available as -regular array variables, so for example C<@{ $serv_obj-E<gt>aliases() -}> would be simply @s_aliases. +regular array variables, so for example C<@{ $serv_obj-E<gt>aliases()}> +would be simply @s_aliases. The getserv() function is a simple front-end that forwards a numeric argument to getservbyport(), and the rest to getservbyname(). |