Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    print Dumper(\%ini)."\n";
    
  2. or download this
            push @slots, keys%{$ini{'$hostnames[$i}'}};
            push @ifindices, values%{$ini{'$hostnames[$i}'}};
    
  3. or download this
    for (keys(%{$ini{$hostnames[$i]}})) {
     push @slots,$_;
     push @ifindices,${$ini{$hostnames[$i]}}{$_};
    }
    
  4. or download this
    for (@hostnames) { print $_; }
    
  5. or download this
    for my $Hostname (@hostnames) { print $Hostname; }