Re: help with array within another array



On Feb 27, 2:53 pm, rmalg...@xxxxxxxxx (Ravi Malghan) wrote:
Hi: I just can't seem to figure this out.
I am trying to declare two associative array
(%nodeowner and %nodeseverity) within another array
called %SESSION

For example
%nodeowner = ("node1", "john", "node2", "nancy");
%nodeseverity = ("node1", 5, "node2", 10);

How do I declare %SESSION containing %nodeowner and
%nodeseverity. And how do I access say the value John
give node1 from the nodeowner array that is in
SESSION?

Have you read:
perldoc perlreftut
perldoc perllol
perldoc perldsc
yet?

Please do so, then show us your best attempt if you still can't get
it.

Paul Lalli

.



Relevant Pages