> 
> 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

Reply via email to