X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FAard.pm;h=0d331dd22a0e12485cacfdf7905c240d0414efed;hb=fef4a7db43d230f7abe5e479f2c8016a47272271;hp=fdb570e0e9f96981a8c2f287974b9dee8306bbb4;hpb=1b53d9d3c063e74705954946f95d320c1028ce1d;p=aard.git diff --git a/lib/Aard.pm b/lib/Aard.pm index fdb570e..0d331dd 100644 --- a/lib/Aard.pm +++ b/lib/Aard.pm @@ -9,7 +9,7 @@ use IO::Uncompress::Inflate qw/inflate/; use IO::Uncompress::Bunzip2 qw/bunzip2/; use List::Util qw/sum/; -use JSON qw/decode_json/; +use JSON::MaybeXS qw/decode_json/; use UUID::Tiny qw/uuid_to_string/; use constant HEADER_SPEC => [ @@ -195,20 +195,36 @@ Returns true if B means number of articles in this volume. This i =item B +Returns the dictionary's "from" language (two or three letter ISO code) + =item B +Returns the dictionary's "to" language (two or three letter ISO code) + =item B +Returns the dictionary title + =item B<version> +Returns the dictionary version + =item B<description> +Returns the dictionary description + =item B<copyright> +Returns the copyright notice + =item B<license> +Returns the full license text + =item B<source> +Returns the dictionary data source + =back =head1 SEE ALSO