Thank you for your answer.
When I work with multiple dimentional array, or nested hashes, everything works just fine. BUT here, when I try to do OO (newbe) I realy am in truble. What I can't do is to get the values on those objects which are stored in @fw in the tight way.
I need to traverse @fw in order to display vales, but every time I try, it fails!
I need help to know how shall I travers @fw to get currect values.
$fw = [ $var1= bless( { 'INTERFACE' => [ [],[],[] ], 'NAME' => 'myname', 'DESCRIPTION' => undef, 'ROUTINGTABLE' => [ [],[],[] ] }, 'NT::FW' ); $var2= bless( { 'INTERFACE' => [ [],[],[] ], 'NAME' => 'myname', 'DESCRIPTION' => undef, 'ROUTINGTABLE' => [ [],[],[] ] }, 'NT::FW' ); ]
In reply to Re^2: How to traverse a two dimentional array in a constructor?
by Hossein
in thread How to traverse a two dimentional array in a constructor?
by Hossein
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |