All pastes #260434 Raw Edit

Miscellany

public text v1 · immutable
#260434 ·published 2006-11-28 11:00 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}
}