App-PDFLibrarian
view release on metacpan or search on metacpan
lib/App/PDFLibrarian/Library.pm view on Meta::CPAN
1;
sub pdf_is_in_library {
my ($pdffile) = @_;
# return whether PDF file is already in library
return is_in_dir("$pdflibrarydir/Files", $pdffile);
}
sub update_pdf_lib {
my (@bibentries) = @_;
return unless @bibentries > 0;
# add PDF files in BibTeX entries to PDF library
my $newbibentries = 0;
foreach my $bibentry (@bibentries) {
# get name of PDF file
my $pdffile = $bibentry->get('file');
( run in 2.188 seconds using v1.01-cache-2.11-cpan-364913b4093 )