{
my($url,$contents,%args)=@_;
- cluck if !$url->{""};
# A bit ineffective but we must process all the possibilities to get stable 'headers_in' hits!
my %map=map(($_=>a_href($url->{$_},$contents,%args)),keys(%$url));
my $r;
$r||=$map{_cc()};
$r||=$map{""};
- return $r;
+ return $r if $r;
+ return $contents;
}
# $tree={"JP"=>"specific",...};