diff --git a/Changes b/Changes index 9d70e1b..c0520cc 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Revision history for PICA::Data {{$NEXT}} + +2.10 2023-08-09T14:01:25Z - Add PICA Import format parser (#129) - Add parser counter (method: count) diff --git a/META.json b/META.json index 9893d6f..ac0e289 100644 --- a/META.json +++ b/META.json @@ -84,7 +84,7 @@ "web" : "https://github.com/gbv/PICA-Data" } }, - "version" : "2.09", + "version" : "2.10", "x_contributors" : [ "Carsten Klee ", "Jakob Voß ", diff --git a/README.md b/README.md index 25a1b16..879c25f 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,7 @@ ignored and additional parameters are passed to the parser's constructor: - [PICA::Parser::Binary](https://metacpan.org/pod/PICA%3A%3AParser%3A%3ABinary) for type `binary` (binary PICA+) - [PICA::Parser::Plain](https://metacpan.org/pod/PICA%3A%3AParser%3A%3APlain) for type `plain` or `picaplain` (human-readable PICA+) - [PICA::Parser::Plus](https://metacpan.org/pod/PICA%3A%3AParser%3A%3APlus) for type `plus` or `picaplus` (normalized PICA+) +- [PICA::Parser::Import](https://metacpan.org/pod/PICA%3A%3AParser%3A%3AImport) for type `import` (PICA Import format) - [PICA::Parser::JSON](https://metacpan.org/pod/PICA%3A%3AParser%3A%3AJSON) for type `json` (PICA JSON) - [PICA::Parser::XML](https://metacpan.org/pod/PICA%3A%3AParser%3A%3AXML) for type `xml` or `picaxml` (PICA-XML) - [PICA::Parser::PPXML](https://metacpan.org/pod/PICA%3A%3AParser%3A%3APPXML) for type `ppxml` (PicaPlus-XML) diff --git a/lib/App/picadata.pm b/lib/App/picadata.pm index 7503329..ec5d8fc 100644 --- a/lib/App/picadata.pm +++ b/lib/App/picadata.pm @@ -1,7 +1,7 @@ package App::picadata; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use Getopt::Long qw(GetOptionsFromArray :config bundling); use Pod::Usage; diff --git a/lib/PICA/Data.pm b/lib/PICA/Data.pm index 66a3874..da23e19 100644 --- a/lib/PICA/Data.pm +++ b/lib/PICA/Data.pm @@ -1,7 +1,7 @@ package PICA::Data; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use Exporter 'import'; our @EXPORT_OK diff --git a/lib/PICA/Data/Field.pm b/lib/PICA/Data/Field.pm index ee0292f..1ad4339 100644 --- a/lib/PICA/Data/Field.pm +++ b/lib/PICA/Data/Field.pm @@ -1,7 +1,7 @@ package PICA::Data::Field; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use Carp qw(croak); use Hash::MultiValue; diff --git a/lib/PICA/Parser/Base.pm b/lib/PICA/Parser/Base.pm index 1a78ef5..027692c 100644 --- a/lib/PICA/Parser/Base.pm +++ b/lib/PICA/Parser/Base.pm @@ -1,7 +1,7 @@ package PICA::Parser::Base; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use PICA::Data::Field; use Carp qw(croak); diff --git a/lib/PICA/Parser/Binary.pm b/lib/PICA/Parser/Binary.pm index 591146e..11e0806 100644 --- a/lib/PICA/Parser/Binary.pm +++ b/lib/PICA/Parser/Binary.pm @@ -1,7 +1,7 @@ package PICA::Parser::Binary; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use charnames qw(:full); diff --git a/lib/PICA/Parser/Import.pm b/lib/PICA/Parser/Import.pm index 7749f97..35d4979 100644 --- a/lib/PICA/Parser/Import.pm +++ b/lib/PICA/Parser/Import.pm @@ -2,7 +2,7 @@ package PICA::Parser::Import; use v5.14.1; use utf8; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use charnames ':full'; use Carp qw(carp croak); diff --git a/lib/PICA/Parser/JSON.pm b/lib/PICA/Parser/JSON.pm index 95fae29..70fe660 100644 --- a/lib/PICA/Parser/JSON.pm +++ b/lib/PICA/Parser/JSON.pm @@ -1,7 +1,7 @@ package PICA::Parser::JSON; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use JSON::PP; our $JSON = JSON::PP->new; diff --git a/lib/PICA/Parser/PIXML.pm b/lib/PICA/Parser/PIXML.pm index cba168d..5cf7db1 100644 --- a/lib/PICA/Parser/PIXML.pm +++ b/lib/PICA/Parser/PIXML.pm @@ -1,7 +1,7 @@ package PICA::Parser::PIXML; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use parent 'PICA::Parser::XML'; diff --git a/lib/PICA/Parser/PPXML.pm b/lib/PICA/Parser/PPXML.pm index 803aa95..cbae2f1 100644 --- a/lib/PICA/Parser/PPXML.pm +++ b/lib/PICA/Parser/PPXML.pm @@ -1,7 +1,7 @@ package PICA::Parser::PPXML; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use parent 'PICA::Parser::XML'; diff --git a/lib/PICA/Parser/Plain.pm b/lib/PICA/Parser/Plain.pm index 9219f34..13fb850 100644 --- a/lib/PICA/Parser/Plain.pm +++ b/lib/PICA/Parser/Plain.pm @@ -2,7 +2,7 @@ package PICA::Parser::Plain; use v5.14.1; use utf8; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use charnames ':full'; use Carp qw(carp croak); diff --git a/lib/PICA/Parser/Plus.pm b/lib/PICA/Parser/Plus.pm index ce75f9e..e8f4e2f 100644 --- a/lib/PICA/Parser/Plus.pm +++ b/lib/PICA/Parser/Plus.pm @@ -1,7 +1,7 @@ package PICA::Parser::Plus; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use charnames qw(:full); use Carp qw(carp croak); diff --git a/lib/PICA/Parser/XML.pm b/lib/PICA/Parser/XML.pm index 28a080f..6976ca5 100644 --- a/lib/PICA/Parser/XML.pm +++ b/lib/PICA/Parser/XML.pm @@ -1,7 +1,7 @@ package PICA::Parser::XML; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use Carp qw(croak); use Scalar::Util qw(reftype); diff --git a/lib/PICA/Patch.pm b/lib/PICA/Patch.pm index b96eb45..27675a0 100644 --- a/lib/PICA/Patch.pm +++ b/lib/PICA/Patch.pm @@ -1,7 +1,7 @@ package PICA::Patch; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use PICA::Schema qw(field_identifier); use PICA::Data::Field; diff --git a/lib/PICA/Path.pm b/lib/PICA/Path.pm index b3f4e01..cb04a1e 100644 --- a/lib/PICA/Path.pm +++ b/lib/PICA/Path.pm @@ -2,7 +2,7 @@ package PICA::Path; use v5.14.1; use utf8; -our $VERSION = '2.09'; +our $VERSION = '2.10'; require Exporter; our @ISA = qw(Exporter); diff --git a/lib/PICA/Schema.pm b/lib/PICA/Schema.pm index dd04040..048f489 100644 --- a/lib/PICA/Schema.pm +++ b/lib/PICA/Schema.pm @@ -1,7 +1,7 @@ package PICA::Schema; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use Scalar::Util qw(reftype); use Storable qw(dclone); diff --git a/lib/PICA/Schema/Builder.pm b/lib/PICA/Schema/Builder.pm index 0b75acb..3a748ad 100644 --- a/lib/PICA/Schema/Builder.pm +++ b/lib/PICA/Schema/Builder.pm @@ -1,7 +1,7 @@ package PICA::Schema::Builder; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use Scalar::Util qw(reftype); use Storable qw(dclone); diff --git a/lib/PICA/Writer/Base.pm b/lib/PICA/Writer/Base.pm index 1e550d6..80c0a21 100644 --- a/lib/PICA/Writer/Base.pm +++ b/lib/PICA/Writer/Base.pm @@ -1,7 +1,7 @@ package PICA::Writer::Base; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use Scalar::Util qw(blessed openhandle reftype); use PICA::Schema qw(clean_pica); diff --git a/lib/PICA/Writer/Binary.pm b/lib/PICA/Writer/Binary.pm index 1559b5d..64c9a9e 100644 --- a/lib/PICA/Writer/Binary.pm +++ b/lib/PICA/Writer/Binary.pm @@ -1,7 +1,7 @@ package PICA::Writer::Binary; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use charnames qw(:full); diff --git a/lib/PICA/Writer/Generic.pm b/lib/PICA/Writer/Generic.pm index 53653b5..4c8afe9 100644 --- a/lib/PICA/Writer/Generic.pm +++ b/lib/PICA/Writer/Generic.pm @@ -1,7 +1,7 @@ package PICA::Writer::Generic; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use charnames qw(:full); diff --git a/lib/PICA/Writer/Import.pm b/lib/PICA/Writer/Import.pm index ffe5546..2444cb8 100644 --- a/lib/PICA/Writer/Import.pm +++ b/lib/PICA/Writer/Import.pm @@ -1,7 +1,7 @@ package PICA::Writer::Import; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use charnames qw(:full); diff --git a/lib/PICA/Writer/JSON.pm b/lib/PICA/Writer/JSON.pm index 208751e..9d834a8 100644 --- a/lib/PICA/Writer/JSON.pm +++ b/lib/PICA/Writer/JSON.pm @@ -1,7 +1,7 @@ package PICA::Writer::JSON; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use Scalar::Util qw(reftype); use JSON::PP; diff --git a/lib/PICA/Writer/PIXML.pm b/lib/PICA/Writer/PIXML.pm index 19a5104..8cf58b6 100644 --- a/lib/PICA/Writer/PIXML.pm +++ b/lib/PICA/Writer/PIXML.pm @@ -1,7 +1,7 @@ package PICA::Writer::PIXML; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use Scalar::Util qw(reftype); use XML::LibXML; diff --git a/lib/PICA/Writer/PPXML.pm b/lib/PICA/Writer/PPXML.pm index 3f5bdd3..fa93a41 100644 --- a/lib/PICA/Writer/PPXML.pm +++ b/lib/PICA/Writer/PPXML.pm @@ -1,7 +1,7 @@ package PICA::Writer::PPXML; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use Scalar::Util qw(reftype); use XML::LibXML; diff --git a/lib/PICA/Writer/Plain.pm b/lib/PICA/Writer/Plain.pm index 1378eb4..4f5e35b 100644 --- a/lib/PICA/Writer/Plain.pm +++ b/lib/PICA/Writer/Plain.pm @@ -1,7 +1,7 @@ package PICA::Writer::Plain; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use charnames qw(:full); use Term::ANSIColor; diff --git a/lib/PICA/Writer/Plus.pm b/lib/PICA/Writer/Plus.pm index f2d86fb..2bc27c9 100644 --- a/lib/PICA/Writer/Plus.pm +++ b/lib/PICA/Writer/Plus.pm @@ -1,7 +1,7 @@ package PICA::Writer::Plus; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use charnames qw(:full); diff --git a/lib/PICA/Writer/XML.pm b/lib/PICA/Writer/XML.pm index d133db0..f67b509 100644 --- a/lib/PICA/Writer/XML.pm +++ b/lib/PICA/Writer/XML.pm @@ -1,7 +1,7 @@ package PICA::Writer::XML; use v5.14.1; -our $VERSION = '2.09'; +our $VERSION = '2.10'; use Scalar::Util qw(reftype); use XML::Writer;