Author: wayland Date: 2009-02-27 13:41:26 +0100 (Fri, 27 Feb 2009) New Revision: 25623
Modified: docs/Perl6/Spec/S16-io.pod Log: Fixed name of NameServices. wayland-- for not picking this up before :). Modified: docs/Perl6/Spec/S16-io.pod =================================================================== --- docs/Perl6/Spec/S16-io.pod 2009-02-27 12:32:32 UTC (rev 25622) +++ docs/Perl6/Spec/S16-io.pod 2009-02-27 12:41:26 UTC (rev 25623) @@ -75,21 +75,6 @@ =head1 Name Services -=head NameServices role - -The NameServices role has a bunch of functions that between them will return the whole -Name Services database between them, as lists of objects. The lists are specifically -intended to be lazy. - -role NameServices { - method List of User users() {...} # getpwent, setpwent, endpwent - method List of Group groups() {...} # getgrent, setgrent, endgrent - method List of Service services() {...} # getservent, setservent, endservent - method List of Protocol protocols() {...} # getprotoent, setprotoent, endprotoent - method List of Network networks() {...} # getnetent, setnetent, endnetent - method List of Host hosts() {...} # gethostent, sethostent, endhostent -} - =head2 User role role User { @@ -148,6 +133,21 @@ Tries to write the group entry into the system group database. +=head OS::Unix::NameServices role + +The NameServices role has a bunch of functions that between them will return the whole +Name Services database between them, as lists of objects. The lists are specifically +intended to be lazy. + +role NameServices { + method List of User users() {...} # getpwent, setpwent, endpwent + method List of Group groups() {...} # getgrent, setgrent, endgrent + method List of Service services() {...} # getservent, setservent, endservent + method List of Protocol protocols() {...} # getprotoent, setprotoent, endprotoent + method List of Network networks() {...} # getnetent, setnetent, endnetent + method List of Host hosts() {...} # gethostent, sethostent, endhostent +} + =head1 Additions Please post errors and feedback to perl6-language. If you are making