Reference: group (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: distributionsChapter 15
Usenet News
Next: Reference: head
 

group

 $nntp->group([group])

Sets and/or gets the current group. With no argument, returns information about the current group, otherwise sets the current group to group.

In a scalar context, group returns the group name. In an array context, it returns a list containing the number of articles in the group, the first article number, the last article number, and the group name.


Previous: Reference: distributionsPerl in a NutshellNext: Reference: head
Reference: distributionsBook IndexReference: head

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.