Help for this page

Select Code to Download


  1. or download this
    my @newrows = qw( value1 value2 );
    my @printrows;
    ...
    print $printrows[0][0], "\n"; # should be Value1?
    print $printrows[1][1], "\n"; # should be Value2?
    print "\n";
    
  2. or download this
    push @{$newhash{ IP }}, @newrows;
    
  3. or download this
    push @{$newhash{ IP }}, @newrows;
    
  4. or download this
    @printrows = $newhash{ IP };
    
  5. or download this
    print $printrows[0][0], "\n"; # should be Value1?
    
  6. or download this
    print $printrows[1][1], "\n"; # should be Value2?