Why not use: $route{$NODE} = {$routeDest => $cost};
Also, check out the perl reference tutorial: http://www.perldoc.com/perl5.8.0/pod/perlreftut.html -Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]