| 1 |
|
| 2 |
Array::Compare |
| 3 |
-------------- |
| 4 |
|
| 5 |
NAME |
| 6 |
|
| 7 |
Array::Compare |
| 8 |
|
| 9 |
DESCRIPTION |
| 10 |
|
| 11 |
WHAT IS Array::Compare? |
| 12 |
|
| 13 |
Array::Compare is a Perl module which allows you to compare two arrays. |
| 14 |
|
| 15 |
It has a number of features which allow you to control the way that the |
| 16 |
arrays are compared: |
| 17 |
|
| 18 |
* white space in array elements can be significant or ignored. |
| 19 |
* particular columns in the arrays can be ignored. |
| 20 |
|
| 21 |
Additionally you can get a simple true/false return value or the number |
| 22 |
of columns which differ or an array containing the indexes of the |
| 23 |
differing columns. |
| 24 |
|
| 25 |
HOW DO I INSTALL IT? |
| 26 |
|
| 27 |
Array::Compare uses the standard Perl module architecture and can |
| 28 |
therefore by installed using the standard Perl method, that is, |
| 29 |
|
| 30 |
cpanm Array::Compare |
| 31 |
|
| 32 |
or |
| 33 |
|
| 34 |
cpan Array::Compare |
| 35 |
|
| 36 |
(possibly with sudo in front). |
| 37 |
|
| 38 |
You can always download it from CPAN or Github, and then... |
| 39 |
|
| 40 |
gzip -cd Array-Compare-X.XX.tar.gz | tar xvf - |
| 41 |
cd Array-Compare-X.XX |
| 42 |
perl Makefile.PL |
| 43 |
make |
| 44 |
make test |
| 45 |
make install |
| 46 |
|
| 47 |
Where X.XX is the version number of the module which you are installing. |
| 48 |
|
| 49 |
If this doesn't work for you then creating a directory called Array |
| 50 |
somewhere in your Perl library path (@INC) and copying the Compare.pm |
| 51 |
file into this directory should also do the trick. |
| 52 |
|
| 53 |
WHERE IS THE DOCUMENTATION? |
| 54 |
|
| 55 |
All of the documentation is currently in POD format in the Compare.pm |
| 56 |
file. If you install the module using the standard method you should be |
| 57 |
able to read it by typing |
| 58 |
|
| 59 |
perldoc Array::Compare |
| 60 |
|
| 61 |
at a comand prompt. |
| 62 |
|
| 63 |
LATEST VERSION |
| 64 |
|
| 65 |
The latest version of this module will always be available from CPAN. |
| 66 |
|
| 67 |
COPYRIGHT |
| 68 |
|
| 69 |
Copyright (C) 2003-19, Magnum Solutions Ltd. All Rights Reserved. |
| 70 |
|
| 71 |
This module is free software; you can redistribute it and/or modify it |
| 72 |
under the same terms as Perl itself. |
| 73 |
|
| 74 |
ANYTHING ELSE? |
| 75 |
|
| 76 |
If you have any further questions, please contact the author. |
| 77 |
|
| 78 |
AUTHOR |
| 79 |
|
| 80 |
Dave Cross <[email protected]> |
| 81 |
|