Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: Hash order randomization is coming, are you ready?

by demerphq (Chancellor)
on Dec 02, 2012 at 09:55 UTC ( #1006689=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %copy= %orig;
    
  2. or download this
    $ ./perl -Ilib -MHash::Util=bucket_array -MData::Dumper -le'my (%hash,
    +%copy); keys(%copy)=16; %hash=(1..14); %copy=%hash; print Data::Dumpe
    +r->new([bucket_array($_)])->Terse(1)->Indent(0)->Dump for \%hash, \%c
    +opy;' 
    [['13','5'],1,['7'],['11'],2,['3','1'],['9']]
    [3,['11'],3,['9'],['5','13'],1,['7'],3,['1','3'],1]
    
  3. or download this
    $ ./perl -Ilib -MHash::Util=bucket_array -MData::Dumper -le'my (%hash,
    +%copy); %hash=(1..14); %copy=%hash; print Data::Dumper->new([bucket_a
    +rray($_)])->Terse(1)->Indent(0)->Dump for \%hash, \%copy;' 
    [['11'],['7'],2,['13','5'],['9','3'],['1'],1]
    [['11'],['7'],2,['5','13'],['3','9'],['1'],1]
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-07-25 03:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls