what should be $router_table{$i} ?

I have $router_tables{$i} (with the s) which is something like
1.1.1.1|cisco  and I want to split it to be $router_table{$i} (without the
s) is 1.1.1.1 and $router_type{$i} is cisco

Andy

On Thu, 24 May 2001, Timothy Kimball wrote:

> 
> Andy Roden wrote: 
> : For some reason, the script doesn't execute the split as I would hope
> : (giving $router_table{i} = 1.1.1.1  $router_type{i} = cisco) it just
> : returns two blanks (and hence prints out the $router_tables{$i} as its
> : told to
> 
> Should be $router_table{$i}, shouldn't it?
> 
> -- tdk
> 

Reply via email to