Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    push @{ $hash{ $K[ ++$i&4 ? 3-$i%4 : $i%4 ] } }, $_ for @V;
    
    print Dumper \%hash;
    
  2. or download this
    push @{ $hash{ $K[ int 3.5*abs sin (0.19634954085+0.39269908170*++$i) 
    +] } }, $_ for @V;