be aware that $config contains a reference to a hash.while (my ($host,$ip) = each(%$config)) { print "$host => $ip\n"; }
cheers si_lence
In reply to Re: conf file in Perl syntax
by si_lence
in thread conf file in Perl syntax
by Ravendark
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |