10 "Content-Disposition", 1,
23 @{$hdrs{$hdr}}[-1] .= "\n$_";
28 (defined $hdrs{$hdr}) ? (push @{$hdrs{$hdr}}, $val) : ($hdrs{$hdr} = [$val]);
29 push @hdrs_order, $hdr;
33 foreach (@hdrs_order) {
34 next if (defined $seen{$_});
36 if (defined $hdrs_dup{$_}) {
37 print "$_: @{$hdrs{$_}}[-1]\n";
40 foreach my $val (@{$hdrs{$_}}) {