App-arxiv2bib
view release on metacpan or search on metacpan
script/arxiv2bib view on Meta::CPAN
exit;
};
($man) && do {
pod2usage(-verbose => 2);
exit;
};
sub entry2hsh($entry) {
my %h;
for (qw(id updated published title summary)) {
$h{$_} = $entry->at($_)->text;
}
$h{'authors'} = $entry->find('author name')->map('text');
$h{'category'} = $entry->find('category')->map(sub {$_->{'term'}});
$h{'abs'} = $entry->at('link[type="text/html"]')->{'href'};
$h{'pdf'} = $entry->at('link[type="application/pdf"]')->{'href'};
return \%h;
}
sub hsh2strings($h,$label) {
( run in 0.340 second using v1.01-cache-2.11-cpan-05444aca049 )