in reply to Nesting/Loop/Print problem

with doing
push @{$slots{$device}}, $rtr_diag;
you are populating an anonymous array, better try that with the already existant hash
$slots{$device} = $rtr_diag;

Have a nice day
All decision is left to your taste

Replies are listed 'Best First'.
RE: Re: Nesting/Loop/Print problem
by Limo (Scribe) on Oct 05, 2000 at 21:28 UTC
    That returns:
    Can't use string ("SLOT 6 (RP/LC 6 ): 4 Port Packe") as an ARRAY ref while "strict refs" in use at ./new-route-info.pl line 138, <RTRLIST> chunk 56.
      OK, but you have to change the composition of your diag_string as well, if you want to try, there'S still the anonymous array :-))
      Have a nice day
      All decision is left to your taste