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 look like........
> %HoH = (
>     machine-name => {
>          ssh => (eth0x3,eth1x1),
>          telnet => (eth0x3,eth1x1),
>          icmp => (eth0x3,eth1x1),
>        },

%HoH = (
     machine-name => {
          ssh => (eth0=>3,eth1=>1),
          telnet => (eth0=>3,eth1=>1),
          icmp => (eth0=>3,eth1=>1),
        },

Should be easier to fill as well as read.


-- 
Mark Thomas                    [EMAIL PROTECTED]
Internet Systems Architect     User Technology Associates, Inc.

$_=q;KvtuyboopuifeyQQfeemyibdlfee;; y.e.s. ;y+B-x+A-w+s; ;y;y; ;;print;;
 

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to