for (@custinfo) { next if !/:/; my ($key, $val) = split(/\s*:\s*/, $_, 2); if ($key eq 'MACADDRESS') { push @{ $cust{$key} }, $val; } else { $cust{$key} = $val; } }
In reply to Re: Question about a hash....
by ikegami
in thread Question about a hash....
by raisputin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |