Help for this page

Select Code to Download


  1. or download this
    sub popnum3 {
        my ( $x, $y, $z, $zazb ) = @_;
        if ( $y == 0 ) {
    ...
        }
        return $aob[$x][$y];
    }
    
  2. or download this
    sub popnum3 {
        my ( $x, $y, $z, $zazb ) = @_;
        if ( $y == 0 ) {
    ...
        }
        return $aob[$x][$y];
    }
    
  3. or download this
    my @cPosns;
    push @cPosns, pos $zazb while $zazb =~ m{(?=c)}g;
    my $offset = splice @cPosns, rand @cPosns, 1;
    
  4. or download this
    tie my @aod, 'Tie::File', 'bias/array.txt', recsep => "\n";
    
    ...
    }   
    
    close $DATABASE or croak 'data1 not closed.';
    
  5. or download this
    my @offst = split /\,/xsm, $off[$y - 1];
    
  6. or download this
     my $index  = int rand ($#offst);
     $offset = $offst[$index];