A simple test script shows that that's not the case.

use strict; use Digest::MD5 qw( md5_hex ); my $string1="CA" . "Los Angeles" . "1440x900" . "en-us" . "Mozilla/4.0 + (compatible; MSIE 6.0; Windows NT 5.1; SV1)" . ""; my $string2="CA" . "Los Angeles" . "1280x1024" . "en-us" . "Mozilla/4. +0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; M +edia Center PC 5.0; .NET CLR 3.0.04506)" . ""; print md5_hex( $string1 ), "\n", md5_hex( $string2 ), "\n"; exit 0; __END__ 256645dc3bb33cfd395c51faf4241cfc c3fbc65ae0b12ee4cd22ccadd3d9a3f7

Something Else Is Wrong™, but then you haven't shown any actual code so it's all pretty much going to be conjecture.

The cake is a lie.
The cake is a lie.
The cake is a lie.


In reply to Re: md5_hex diff input produces same output? by Fletch
in thread md5_hex diff input produces same output? by Oaty

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.