Help for this page

Select Code to Download


  1. or download this
    my @tmpFields = split (/\(?(\d+)\*(\w+)\)\s+/, $line);
    
  2. or download this
    i = 0 , Summary 51.58.214.48/dw109998bsw45 ->
    i = 1 , 1
    ...
    i = 15 ,
    i = 16 , 2
    i = 17 , Cisco_Memory_Pool
    
  3. or download this
    my @tfields = grep {!/\s+/} @tmpFields;
    
  4. or download this
    print "array length: " , scalar(@tfields), "\n", Dumper (@tfields);
    
  5. or download this
    array length: 12
    $VAR1 = '1';
    ...
    $VAR10 = '1213_Device';
    $VAR11 = '2';
    $VAR12 = 'Cisco_Memory_Pool';
    
  6. or download this
    my %hFields = @tfields;
    
  7. or download this
          next if ($line !~ /^Summary/);
          
    ...
          my @tfields = grep {!/\s+/} @tmpFields; 
    
          my %hFields = @tfields;