Help for this page

Select Code to Download


  1. or download this
     open (BEGIN_FILE, "$beg_file") || die  "Cannot open: $!\n"; 
       while ($line = <BEGIN_FILE>) {
    ...
         ($as,$as_name,$nbr,$rtr,$int,$address,$int_name,$ifindex,$vpi,$vc
    +i) = split(' ',$priv_line);
         $begin{$int_name} = $rtr;
       }
    
  2. or download this
    foreach $file(@end) {
         open FILE, "$file" || die "Cannot open: $!\n";
    ...
         $end{$int_name} = $rtr;    
         }
       }
    
  3. or download this
     my  %good_files = ();
       
    ...
           
         }
       }