Group
Extension

Matches 4

Sah-Schemas-Perl ( P/PE/PERLANCAR/Sah-Schemas-Perl-0.049.tar.gz, PERLANCAR, 2024; MetaCPAN )
Sah-Schemas-Perl/lib/Sah/Schemas/Perl.pm ( view source; MetaCPAN )
oo::Bar
 Foo::Bar=arg1,arg2

See also: C<perl::modname>.
A two-element array from (coercible from JSON string) is also allowed:

 ["Foo::Bar", \@args]


=item * L<perl::modname_with_optional_ver|Sah::
Sah-Schemas-Perl ( P/PE/PERLANCAR/Sah-Schemas-Perl-0.049.tar.gz, PERLANCAR, 2024; MetaCPAN )
Sah-Schemas-Perl/lib/Sah/SchemaR/perl/modargs.pm ( view source; MetaCPAN )
r\n    Foo::Bar=arg1,arg2\n\nSee also: `perl::modname`.\nA two-element array from (coercible from JSON string) is also allowed:\n\n    [\"Foo::Bar\", \\\@args]\n\n",examples=>[{valid=>0,value=>""},{va
"]]},{summary=>"Too many elements",valid=>0,value=>["Foo",["arg1","arg2"],{}]}],of=>[["array_from_json",{description=>"\nThese are valid values for this schema:\n\n    [\"Foo\"]                       
Sah-Schemas-Perl ( P/PE/PERLANCAR/Sah-Schemas-Perl-0.049.tar.gz, PERLANCAR, 2024; MetaCPAN )
Sah-Schemas-Perl/lib/Sah/SchemaR/perl/modname_with_optional_args.pm ( view source; MetaCPAN )
r\n    Foo::Bar=arg1,arg2\n\nSee also: `perl::modname`.\nA two-element array from (coercible from JSON string) is also allowed:\n\n    [\"Foo::Bar\", \\\@args]\n\n",examples=>[{valid=>0,value=>""},{va
"]]},{summary=>"Too many elements",valid=>0,value=>["Foo",["arg1","arg2"],{}]}],of=>[["array_from_json",{description=>"\nThese are valid values for this schema:\n\n    [\"Foo\"]                       
Sah-Schemas-Perl ( P/PE/PERLANCAR/Sah-Schemas-Perl-0.049.tar.gz, PERLANCAR, 2024; MetaCPAN )
Sah-Schemas-Perl/lib/Sah/Schema/perl/modname_with_optional_args.pm ( view source; MetaCPAN )
pletion' => 'perl_modname',

    examples => \@examples_str,
}];

our $schema_array = [array_from_json => {
    summary => 'A 1- or 2-element array containing Perl module name (e.g. ["Foo::Bar"]) with
::Bar
    Foo::Bar=arg1,arg2

See also: `perl::modname`.
A two-element array from (coercible from JSON string) is also allowed:

    ["Foo::Bar", \@args]

_
    of => [
        $schema_array,
        
 invalid data
 $data = "";
 my $errmsg = $validator->($data); # => "String is not a valid JSON: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 at (eva

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.