All pastes #260433 Raw Edit

Miscellany

public text v1 · immutable
#260433 ·published 2006-11-28 10:59 UTC
rendered paste body
die "different counts for out_user_steps and out_dates"                                                                                      
  unless @{ $xml->{out_user_steps} } == @{ $xml->{out_dates} };

my %dates;                                                                                                                                   
for my $idx (0..$#{ $xml->{out_dates} }) {                                                                                                   
    $dates{$xml->{out_dates}[$idx]{content}} = $xml->{out_user_steps}[$idx]{$content}                                                        
}