hi Jason, and thx for your perl script. but i can't do it work. I can't use perl, so i feel myself an idiot :( the script answer this error: Use of uninitialized value in hash element at polltc_eth1 line 126. Use of uninitialized value in string eq at polltc_eth1 line 159. Use of uninitialized value in string eq at polltc_eth1 line 159. Use of uninitialized value in hash element at polltc_eth1 line 159. Use of uninitialized value in string eq at polltc_eth1 line 159. Use of uninitialized value in string eq at polltc_eth1 line 159. Use of uninitialized value in hash element at polltc_eth1 line 126. Use of uninitialized value in string eq at polltc_eth1 line 159. Use of uninitialized value in string eq at polltc_eth1 line 159. Use of uninitialized value in hash element at polltc_eth1 line 126. Use of uninitialized value in string eq at polltc_eth1 line 159. Use of uninitialized value in string eq at polltc_eth1 line 159. Can't use an undefined value as an ARRAY reference at polltc_eth1 line 327. the Line 126 is: $stats{ $id } = { the line 159 is: if( $type eq "root" ) { and the line 327 is: if( scalar( @{ $child_hash{ $foo } } ) > 0 ) { TIA, Magin Lopez. _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/