This point was raised two years ago when I first distributed the module via CPAN. My feeling then was that the fact that the lists being compared were real-world data sets (I can hear my boss saying, "Get me a list of ...") was more relevant to its naming than the fact that the lists were placed into arrays before being passed to the constructor.
I think the point is less valid today, because now the lists do not necessarily be in the form of arrays before being passed to the constructor (or passed to function in List::Compare::Functional). Now, you can pass seen-hashes to the constructor or function -- seen-hashes which imply the existence of underlying lists. See the documentation on seen-hashes
Dave, I looked at Array::Compare when preparing the documentation. It seems to me that your approach is more tightly focused on comparing Perl arrays and takes a different approach to determining 'sameness' than does List::Compare. The two modules are tackling different problems.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|