in reply to Re: How to traverse a two dimentional array in a constructor?
in thread How to traverse a two dimentional array in a constructor?

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' ); ]

Replies are listed 'Best First'.
Re^3: How to traverse a two dimentional array in a constructor?
by Anonymous Monk on Jun 25, 2013 at 10:56 UTC

    ... I repeat myself ...

    maybe you want to show what you tried?

      Thank you for your help :)

      I found the problem.

      Regards,

      /HHK