Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^4: Weird hash order behaviour on several RedHat releases.

by wazoox (Prior)
on Mar 16, 2006 at 17:04 UTC ( [id://537214]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -V  | grep SEED
        PERL_HASH_SEED="-1"
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print hash_seed() . "\n";
    
    print join( '', %t) ."\n";
    
  3. or download this
    $ for i in -1 0 1 42 garbage; do export PERL_HASH_SEED=$i; for j in 1 
    +2 3; do perl test.pl; done; done
    3657515954
    ...
    eEcCaAbBdDfF
    1729561246
    eEcCaAbBdDfF
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://537214]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found