in reply to How cand I find each dimension x,y,z of a 3D arrays

An important point that nobody has pointed out:
$myArray["service1"]
will not do what you want. If you want to look up things by name, you will need a hash.

For learning and playing around with data structures like this I recommend using Data::Dumper so you can easily see what Perl really has done (which may be very different from what you think it is doing).