Help for this page

Select Code to Download


  1. or download this
    my @hexv;
    
    ...
     my @vals = split ' ', $_;
      @hexv = (@hexv,@vals)
    }
    
  2. or download this
    my @hexv;
    
    while (<DATA>) {
      push @hexv, split;
    }
    
  3. or download this
    my @hexv = map split, <DATA>;
    
  4. or download this
    my $endex = scalar @hexv - 1;
    
  5. or download this
    my $endex = $#hexv;
    
  6. or download this
    foreach my $index ( 0 .. $endex ){
      
      last if $index == $endex;
    
  7. or download this
    foreach my $index ( 0 .. $endex - 1 ){