Help for this page

Select Code to Download


  1. or download this
    $input = ':xxx xxxxx = #xxx :xxx @rndletters @rndletters';
    
    @input2arr = split / /, $input;
    
    my @names = map {$i > 6 ? push(@names,$input2arr[$i]) : $i++ } @input2
    +arr;
    
  2. or download this
    my $i = 0;
    my $input = ':xxx xxxxx = #xxx :xxx @rndletters @rndletters';
    ...
      if ($i > 6) { push (@names, $str); }
      $i++;
    }