Name : perl-Uniq
| |
Version : 0.10.0
| Vendor : Mageia_Org
|
Release : 7.mga9
| Date : 2022-03-20 15:48:14
|
Group : Development/Perl
| Source RPM : perl-Uniq-0.10.0-7.mga9.src.rpm
|
Size : 0.01 MB
| |
Packager : umeabot < umeabot>
| |
Summary : Perl extension for managing list of values
|
Description :
The usage of the methods provided here is simple. You always provide a sorted list to any of these methods and accept a sorted list of values in return.
Suppose AATTlis1 and AATTlist2 are two available lists defined as follows:
AATTlist_1 = qw ( first list of values ); AATTlist_1 = qw ( second list of values );
and we run the following commands:
my AATToutput_1 = uniq sort AATTlist1 AATTlist2; my AATToutput_2 = distinct sort AATTlist1 AATTlist2; my AATToutput_3 = dups sort AATTlist1 AATTlist2;
Now AATToutput_1 has qw( first list of second values ) AATToutput_2 has qw( first second ) and AATToutput_3 has qw( list of values )
Thus AATToutput_1 has all values from either input lists sans any redundant values. AATToutput_2 has exactly those values that appear at most once in combined list. On the other hand AATToutput_3 has a list of values that appear multiple times in input.
EXPORT Exported are methods 1) uniq [ similar to \'uniq\' shell command ] 2) distinct [ similar to \'uniq -u\' shell command ] 3) dups [ similar to \'uniq -d\' shell command ]
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/9/armv7hl/media/core/release |