Help for this page

Select Code to Download


  1. or download this
    use Config::Inifiles;
    use Data::Dumper;
    ...
    @ips = values %{$ini{'hosts'}};
    print Dumper \@hosts;
    print Dumper \@ips;
    
  2. or download this
    $VAR1 = {
              'hosts' => {
    ...
              '192.168.1.2',
              '192.168.1.3'
            ];