Catmandu::Importer::RIS(3pm) | User Contributed Perl Documentation | Catmandu::Importer::RIS(3pm) |
Catmandu::Importer::RIS - a RIS importer
Command line interface:
catmandu convert RIS < input.txt # Use the --human option to translate RIS tags into human readable strings catmandu convert RIS --human 1 < input.txt # Provide a comma separated mapping file to translate RIS tags catmandu convert RIS --human mappings/my_tags.txt < input.txt
In Perl code:
use Catmandu::Importer::RIS; my $importer = Catmandu::Importer::RIS->new(file => "/foo/bar.txt"); my $n = $importer->each(sub { my $hashref = $_[0]; # ... });
catmandu convert RIS --human mappings/my_tags.txt < input.txt
where mappings/my_tags.txt like:
A2,Secondary-Author A3,Tertiary-Author A4,Subsidiary-Author AB,Abstract AD,Author-Address AF,Notes . . .
Create a new RIS importer for $filename. Use STDIN when no filename is given.
The constructor inherits the fix parameter from Catmandu::Fixable. When given, then any fix or fix script will be applied to imported items.
Every Catmandu::Importer is a Catmandu::Iterable all its methods are inherited.
Catmandu::Iterable
2023-02-04 | perl v5.36.0 |