in reply to Looking for the error in this code!

Also, you don't need two loops there, you can do it in one loop:

for my $asignador_index ( keys %index ) { if ( $index{ $asignador_index }{ servicio } eq 'portal' && exists +$final{ $asignador_index } ) { $index{ $asignador_index }{ estado } = $final{ $asignador_inde +x }{ estado_max } } }

Replies are listed 'Best First'.
Re^2: Looking for the error in this code!
by Sombrerero_loco (Beadle) on Jan 12, 2009 at 14:49 UTC
    thanks, such a better way to do that!....less cpu cycles wasted :) thank you!