home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / perl-5.003-bin.lha / lib / perl5 / auto / POSIX / getgroups.al < prev    next >
Text File  |  1996-10-09  |  203b  |  11 lines

  1. # NOTE: Derived from ../../lib/POSIX.pm.  Changes made here will be lost.
  2. package POSIX;
  3.  
  4. sub getgroups {
  5.     usage "getgroups()" if @_ != 0;
  6.     my %seen;
  7.     grep(!$seen{$_}++, split(' ', $) ));
  8. }
  9.  
  10. 1;
  11.