Catmandu-PICA

 view release on metacpan or  search on metacpan

t/04-exporter.t  view on Meta::CPAN

use Test::XML;

use Catmandu::Exporter::PICA;
use File::Temp qw(tempfile);
use IO::File;
use Encode qw(encode);
use PICA::Data qw(pica_parser);
use PICA::Parser::PPXML;

sub slurp {
    do { local (@ARGV,$/) = shift; <> };
}

my @pica_records = (
    [
      ['003@', '', '0', '1041318383'],
      ['021A', '', 'a', encode('UTF-8',"Hello \$\N{U+00A5}!")],
    ],
    {
      record => [
        ['028C', '01', d => 'Emma', a => 'Goldman']

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.743 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )