logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::Exporter::RIS - a RIS exporter

Description

       The RIS exporter requires as input a Perl hash (or a fix) containing RIS fields and values as a string or
       array reference.

Name

       Catmandu::Exporter::RIS - a RIS exporter

See Also

       Catmandu::Exporter

perl v5.36.0                                       2023-02-04                       Catmandu::Exporter::RIS(3pm)

Supported Fields

         TY ID T1 TI CT T2 BT T3 A1 AU A2 ED A3 Y1 PY Y2 N1 AB N2 KW RP
         JF JO JA J1 J2 VL IS CP SP EP CY PB SN AD AV M1 M2 M3 U1 U2 U3 U4 U5
         UR L1 L2 L3 L4

Synopsis

           use Catmandu::Exporter::RIS;

           my $exporter = Catmandu::Exporter::RIS->new(fix => 'myfix.txt');

           $exporter->add_many($arrayref);
           $exporter->add_many($iterator);
           $exporter->add_many(sub { });

           $exporter->add($hashref);

           $exporter->add({
            TI   => 'the Zen of CSS design',
            AU   => ['Dave Shea','Molley E. Holzschlag'],
            IS   => '0-321-30347-4'
           });

           printf "exported %d objects\n" , $exporter->count;

See Also