note
Hue-Bond
<blockquote><i>I think you need a debugging perl for the environment var to work. [...] you can get the same effect from Hash::Util::hash_seed()</i></blockquote>
<p>Both environment variables shown in the OP seem to be working:</p>
<c>$ PERL_HASH_SEED_DEBUG=1 perl -MHash::Util=hash_seed -le'print hash_seed'
HASH_SEED = 165032588
165032588
$ PERL_HASH_SEED_DEBUG=1 perl -MHash::Util=hash_seed -le'print hash_seed'
HASH_SEED = 725441538
725441538</c>
<p>[id://22609]'s <tt>[id://557881|getKeyCollisions]</tt> shows always the same output here:</p>
<c>$ PERL_HASH_SEED_DEBUG=1 perl gkc.pl | md5sum
HASH_SEED = 501557310
e4d6401f730eede592733482fac0ec61 -
$ PERL_HASH_SEED_DEBUG=1 perl gkc.pl | md5sum
HASH_SEED = 1324598606
e4d6401f730eede592733482fac0ec61 -</c>
<p>I don't know if it's supposed to do so or not. I'm beginning to take a fancy to this :) since it seems to be impossible to obtain some different output of anything between runs of perl (well, anything except hash seeds!).</p>
<div class="pmsig"><div class="pmsig-489671">
<p>-- <br />
David Serrano</p>
</div></div>
557616
557878