in reply to How to remove duplicate key/value pairs in hash of array

Tuna, A minor suggestion: You are bothering with far more items from split than you actually use. Instead of this:
($as,$as_name,$nbr,$rtr,$int,$address,$int_name,$ifindex,$vpi, +$vci) = split(' ',$priv_line);

How about this:

($rtr,$int_name) = (split(' ',$priv_line))[3,6];