You must use arrayref to make a key value an array:
ssh => [eth0,...]
you can make the keys hash ref also:
%HoH = (
machine-name => { ssh => {eth0 => ,eth1 => ,eth0 =>,eth0 =>}, },
);
and use exists. Or write a compare sub, for every key of the arrayref...
> -Original Message-
Oops, minor syntax error in my last post, but the point is still valid.
> -Original Message-
> From: Thomas_M
> Sent: Wednesday, February 26, 2003 10:35 AM
> To: 'Williams, P. Lane'; [EMAIL PROTECTED]
> Subject: RE: [Perl-unix-users] Hash of Hash Perl Questio
PLW wrote:
> Anyone have any basic pointers of how to handle the array
> portion?? I am thinking I will need to include a subroutine
> that will do the job.
This is going to sound funny, but here's my advice: use a hash. Take your
HoHoL and make it a HoHoH.
> This is what I would like it to lo