Re: [MacPerl-AnyPerl] Pattern matching: HELP! 2

[email protected] ("Jefferson R. Lowrey") Tue, 23 Apr 2002 11:19:04 -0500 (CDT)
Newsgroups perl.macperl.anyperl
Message-ID <[email protected]>
> 
> I need to extact the user name of every user who is logged in /var/log/maillog.I just want the user name and every one must be present just one time.
> Now I can extract all the strings with the user name and every name is repeated many times.What can I do?Thanks a lot
> 
See the documentation that comes with your installation of perl.

Or read it here:
http://www.perldoc.com/perl5.6.1/pod/perlfaq4.html#How-can-I-remove-duplicate-elements-from-a-list-or-array-

-Jeff Lowrey