App-EANUtils

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         "requires" : {
            "Algorithm::CheckDigits" : "0",
            "Data::Sah::Compiler::perl::TH::array" : "0.914",
            "Data::Sah::Compiler::perl::TH::bool" : "0.914",
            "Data::Sah::Compiler::perl::TH::str" : "0.914",
            "Data::Sah::Filter::perl::Str::remove_nondigit" : "0",
            "Log::ger" : "0.038",
            "Perinci::CmdLine::Any" : "0.154",
            "Perinci::CmdLine::Lite" : "1.924",
            "Perinci::Object" : "0.311",
            "Sah::Schema::ean13_unvalidated" : "0",
            "Sah::Schema::ean13_without_check_digit" : "0",
            "Sah::Schema::ean8_unvalidated" : "0",
            "Sah::Schema::ean8_without_check_digit" : "0",
            "perl" : "5.010001",
            "strict" : "0",
            "warnings" : "0"
         }
      },
      "test" : {
         "requires" : {
            "File::Spec" : "0",
            "IO::Handle" : "0",

META.yml  view on Meta::CPAN

requires:
  Algorithm::CheckDigits: '0'
  Data::Sah::Compiler::perl::TH::array: '0.914'
  Data::Sah::Compiler::perl::TH::bool: '0.914'
  Data::Sah::Compiler::perl::TH::str: '0.914'
  Data::Sah::Filter::perl::Str::remove_nondigit: '0'
  Log::ger: '0.038'
  Perinci::CmdLine::Any: '0.154'
  Perinci::CmdLine::Lite: '1.924'
  Perinci::Object: '0.311'
  Sah::Schema::ean13_unvalidated: '0'
  Sah::Schema::ean13_without_check_digit: '0'
  Sah::Schema::ean8_unvalidated: '0'
  Sah::Schema::ean8_without_check_digit: '0'
  perl: '5.010001'
  strict: '0'
  warnings: '0'
resources:
  bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=App-EANUtils
  homepage: https://metacpan.org/release/App-EANUtils
  repository: git://github.com/perlancar/perl-App-EANUtils.git
version: '0.003'
x_Dist_Zilla:

Makefile.PL  view on Meta::CPAN

  "PREREQ_PM" => {
    "Algorithm::CheckDigits" => 0,
    "Data::Sah::Compiler::perl::TH::array" => "0.914",
    "Data::Sah::Compiler::perl::TH::bool" => "0.914",
    "Data::Sah::Compiler::perl::TH::str" => "0.914",
    "Data::Sah::Filter::perl::Str::remove_nondigit" => 0,
    "Log::ger" => "0.038",
    "Perinci::CmdLine::Any" => "0.154",
    "Perinci::CmdLine::Lite" => "1.924",
    "Perinci::Object" => "0.311",
    "Sah::Schema::ean13_unvalidated" => 0,
    "Sah::Schema::ean13_without_check_digit" => 0,
    "Sah::Schema::ean8_unvalidated" => 0,
    "Sah::Schema::ean8_without_check_digit" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Test::More" => 0
  },

Makefile.PL  view on Meta::CPAN

  "Data::Sah::Compiler::perl::TH::bool" => "0.914",
  "Data::Sah::Compiler::perl::TH::str" => "0.914",
  "Data::Sah::Filter::perl::Str::remove_nondigit" => 0,
  "File::Spec" => 0,
  "IO::Handle" => 0,
  "IPC::Open3" => 0,
  "Log::ger" => "0.038",
  "Perinci::CmdLine::Any" => "0.154",
  "Perinci::CmdLine::Lite" => "1.924",
  "Perinci::Object" => "0.311",
  "Sah::Schema::ean13_unvalidated" => 0,
  "Sah::Schema::ean13_without_check_digit" => 0,
  "Sah::Schema::ean8_unvalidated" => 0,
  "Sah::Schema::ean8_without_check_digit" => 0,
  "Test::More" => 0,
  "strict" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};

README  view on Meta::CPAN

           },
         ]

    Exit code will be non-zero all numbers are invalid. To check for
    individual numbers, use the JSON output.

    This function is not exported.

    Arguments ('*' denotes required arguments):

    *   ean13_numbers* => *array[ean13_unvalidated]*

        (No description)

    *   quiet => *bool*

        If set to true, don't output message to STDOUT.

    Returns an enveloped result (an array).

    First element ($status_code) is an integer containing HTTP-like status

README  view on Meta::CPAN

           },
         ]

    Exit code will be non-zero all numbers are invalid. To check for
    individual numbers, use the JSON output.

    This function is not exported.

    Arguments ('*' denotes required arguments):

    *   ean8_numbers* => *array[ean8_unvalidated]*

        (No description)

    *   quiet => *bool*

        If set to true, don't output message to STDOUT.

    Returns an enveloped result (an array).

    First element ($status_code) is an integer containing HTTP-like status

lib/App/EANUtils.pm  view on Meta::CPAN

    description => <<'_',

Exit code will be non-zero all numbers are invalid. To check for individual
numbers, use the JSON output.

_
    args => {
        ean8_numbers => {
            'x.name.is_plural' => 1,
            'x.name.singular' => 'ean8_number',
            schema => ['array*', of=>'ean8_unvalidated*'],
            req => 1,
            pos => 0,
            slurpy => 1,
            cmdline_src => 'stdin_or_args',
        },
        %argspecopt_quiet,
    },
    examples => [
        {
            summary => 'Check a single EAN-8 number (valid, exit code will be zero, message output to STDOUT)',

lib/App/EANUtils.pm  view on Meta::CPAN

    description => <<'_',

Exit code will be non-zero all numbers are invalid. To check for individual
numbers, use the JSON output.

_
    args => {
        ean13_numbers => {
            'x.name.is_plural' => 1,
            'x.name.singular' => 'ean13_number',
            schema => ['array*', of=>'ean13_unvalidated*'],
            req => 1,
            pos => 0,
            slurpy => 1,
            cmdline_src => 'stdin_or_args',
        },
        %argspecopt_quiet,
    },
    examples => [
        {
            summary => 'Check a single EAN-13 number (valid, exit code will be zero, message will be printed to STDOUT)',

lib/App/EANUtils.pm  view on Meta::CPAN


Exit code will be non-zero all numbers are invalid. To check for individual
numbers, use the JSON output.

This function is not exported.

Arguments ('*' denotes required arguments):

=over 4

=item * B<ean13_numbers>* => I<array[ean13_unvalidated]>

(No description)

=item * B<quiet> => I<bool>

If set to true, don't output message to STDOUT.


=back

lib/App/EANUtils.pm  view on Meta::CPAN


Exit code will be non-zero all numbers are invalid. To check for individual
numbers, use the JSON output.

This function is not exported.

Arguments ('*' denotes required arguments):

=over 4

=item * B<ean8_numbers>* => I<array[ean8_unvalidated]>

(No description)

=item * B<quiet> => I<bool>

If set to true, don't output message to STDOUT.


=back

script/check-ean13  view on Meta::CPAN

=head1 VERSION

This document describes version 0.003 of check-ean13 (from Perl distribution App-EANUtils), released on 2023-01-28.

=head1 SYNOPSIS

B<check-ean13> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)

B<check-ean13> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)

B<check-ean13> [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose">>] [(B<L<--ean13-number|/"--ean13-numbers-json=s">>=I<L<ean13_unvalidated|Sah::Schema::e...



See examples in the L</EXAMPLES> section.

=head1 DESCRIPTION

Exit code will be non-zero all numbers are invalid. To check for individual
numbers, use the JSON output.

script/check-ean8  view on Meta::CPAN

=head1 VERSION

This document describes version 0.003 of check-ean8 (from Perl distribution App-EANUtils), released on 2023-01-28.

=head1 SYNOPSIS

B<check-ean8> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)

B<check-ean8> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)

B<check-ean8> [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose">>] [(B<L<--ean8-number|/"--ean8-numbers-json=s">>=I<L<ean8_unvalidated|Sah::Schema::ean8_...



See examples in the L</EXAMPLES> section.

=head1 DESCRIPTION

Exit code will be non-zero all numbers are invalid. To check for individual
numbers, use the JSON output.



( run in 0.517 second using v1.01-cache-2.11-cpan-a5abf4f5562 )