Help for this page

Select Code to Download


  1. or download this
    while(<$infile>){
      push (@line, $_);
    }
    
  2. or download this
    my $infile = upload ('file') or die "File was not uploaded correctly\n
    +";
    
  3. or download this
    for $i (keys %data) {
      push (@ips, $i);
    }
    
  4. or download this
    for $i (keys %data) {
        push (@ips, $i); 
    ...
         push (@names, $data{$i}{cname});
       }
    }
    
  5. or download this
    for $i (keys %data) {
       for $j (keys %{$data{$i}{ports}}) {
         push (@ips, $i); 
       }
    }