• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

benchmarks/H18-Oct-2020-7762

c/H18-Oct-2020-17,1665,219

inc/H18-Oct-2020-6237

lib/Params/H18-Oct-2020-3,6302,109

t/H18-Oct-2020-3,5582,786

xt/H18-Oct-2020-2,6101,965

Build.PLH A D18-Oct-20201.8 KiB8573

CODE_OF_CONDUCT.mdH A D18-Oct-20203.2 KiB7656

CONTRIBUTING.mdH A D18-Oct-20203.7 KiB10570

ChangesH A D18-Oct-202026.9 KiB934547

INSTALLH A D18-Oct-20202.3 KiB7850

LICENSEH A D18-Oct-20208.9 KiB208154

MANIFESTH A D18-Oct-20202.7 KiB129128

META.jsonH A D18-Oct-202037.4 KiB1,1161,114

META.ymlH A D18-Oct-202023.5 KiB811810

README.mdH A D18-Oct-202025.2 KiB811597

TODOH A D18-Oct-2020534 2011

azure-pipelines.ymlH A D18-Oct-2020724 3126

cpanfileH A D18-Oct-20202.5 KiB8678

dist.iniH A D18-Oct-20201.2 KiB4844

perlcriticrcH A D18-Oct-20201.9 KiB7149

perltidyrcH A D18-Oct-2020603 2827

tidyall.iniH A D18-Oct-2020753 3227

weaver.iniH A D18-Oct-2020166 1811

README.md

1# NAME
2
3Params::Validate - Validate method/function parameters
4
5# VERSION
6
7version 1.30
8
9# SYNOPSIS
10
11    use Params::Validate qw(:all);
12
13    # takes named params (hash or hashref)
14    sub foo {
15        validate(
16            @_, {
17                foo => 1,    # mandatory
18                bar => 0,    # optional
19            }
20        );
21    }
22
23    # takes positional params
24    sub bar {
25        # first two are mandatory, third is optional
26        validate_pos( @_, 1, 1, 0 );
27    }
28
29    sub foo2 {
30        validate(
31            @_, {
32                foo =>
33                    # specify a type
34                    { type => ARRAYREF },
35                bar =>
36                    # specify an interface
37                    { can => [ 'print', 'flush', 'frobnicate' ] },
38                baz => {
39                    type      => SCALAR,     # a scalar ...
40                                             # ... that is a plain integer ...
41                    regex     => qr/^\d+$/,
42                    callbacks => {           # ... and smaller than 90
43                        'less than 90' => sub { shift() < 90 },
44                    },
45                }
46            }
47        );
48    }
49
50    sub callback_with_custom_error {
51        validate(
52            @_,
53            {
54                foo => {
55                    callbacks => {
56                        'is an integer' => sub {
57                            return 1 if $_[0] =~ /^-?[1-9][0-9]*$/;
58                            die "$_[0] is not a valid integer value";
59                        },
60                    },
61                }
62            }
63        );
64    }
65
66    sub with_defaults {
67        my %p = validate(
68            @_, {
69                # required
70                foo => 1,
71                # $p{bar} will be 99 if bar is not given. bar is now
72                # optional.
73                bar => { default => 99 }
74            }
75        );
76    }
77
78    sub pos_with_defaults {
79        my @p = validate_pos( @_, 1, { default => 99 } );
80    }
81
82    sub sets_options_on_call {
83        my %p = validate_with(
84            params => \@_,
85            spec   => { foo => { type => SCALAR, default => 2 } },
86            normalize_keys => sub { $_[0] =~ s/^-//; lc $_[0] },
87        );
88    }
89
90# DESCRIPTION
91
92**I would recommend you consider using [Params::ValidationCompiler](https://metacpan.org/pod/Params%3A%3AValidationCompiler)
93instead. That module, despite being pure Perl, is _significantly_ faster than
94this one, at the cost of having to adopt a type system such as [Specio](https://metacpan.org/pod/Specio),
95[Type::Tiny](https://metacpan.org/pod/Type%3A%3ATiny), or the one shipped with [Moose](https://metacpan.org/pod/Moose)**.
96
97This module allows you to validate method or function call parameters to an
98arbitrary level of specificity. At the simplest level, it is capable of
99validating the required parameters were given and that no unspecified
100additional parameters were passed in.
101
102It is also capable of determining that a parameter is of a specific
103type, that it is an object of a certain class hierarchy, that it
104possesses certain methods, or applying validation callbacks to
105arguments.
106
107## EXPORT
108
109The module always exports the `validate()` and `validate_pos()`
110functions.
111
112It also has an additional function available for export,
113`validate_with`, which can be used to validate any type of
114parameters, and set various options on a per-invocation basis.
115
116In addition, it can export the following constants, which are used as
117part of the type checking. These are `SCALAR`, `ARRAYREF`,
118`HASHREF`, `CODEREF`, `GLOB`, `GLOBREF`, and `SCALARREF`,
119`UNDEF`, `OBJECT`, `BOOLEAN`, and `HANDLE`. These are explained
120in the section on [Type Validation](https://metacpan.org/pod/Params%3A%3AValidate#Type-Validation).
121
122The constants are available via the export tag `:types`. There is
123also an `:all` tag which includes all of the constants as well as the
124`validation_options()` function.
125
126# PARAMETER VALIDATION
127
128The validation mechanisms provided by this module can handle both
129named or positional parameters. For the most part, the same features
130are available for each. The biggest difference is the way that the
131validation specification is given to the relevant subroutine. The
132other difference is in the error messages produced when validation
133checks fail.
134
135When handling named parameters, the module will accept either a hash
136or a hash reference.
137
138Subroutines expecting named parameters should call the `validate()`
139subroutine like this:
140
141    validate(
142        @_, {
143            parameter1 => validation spec,
144            parameter2 => validation spec,
145            ...
146        }
147    );
148
149Subroutines expecting positional parameters should call the
150`validate_pos()` subroutine like this:
151
152    validate_pos( @_, { validation spec }, { validation spec } );
153
154## Mandatory/Optional Parameters
155
156If you just want to specify that some parameters are mandatory and
157others are optional, this can be done very simply.
158
159For a subroutine expecting named parameters, you would do this:
160
161    validate( @_, { foo => 1, bar => 1, baz => 0 } );
162
163This says that the "foo" and "bar" parameters are mandatory and that
164the "baz" parameter is optional. The presence of any other
165parameters will cause an error.
166
167For a subroutine expecting positional parameters, you would do this:
168
169    validate_pos( @_, 1, 1, 0, 0 );
170
171This says that you expect at least 2 and no more than 4 parameters.
172If you have a subroutine that has a minimum number of parameters but
173can take any maximum number, you can do this:
174
175    validate_pos( @_, 1, 1, (0) x (@_ - 2) );
176
177This will always be valid as long as at least two parameters are
178given. A similar construct could be used for the more complex
179validation parameters described further on.
180
181Please note that this:
182
183    validate_pos( @_, 1, 1, 0, 1, 1 );
184
185makes absolutely no sense, so don't do it. Any zeros must come at the
186end of the validation specification.
187
188In addition, if you specify that a parameter can have a default, then
189it is considered optional.
190
191## Type Validation
192
193This module supports the following simple types, which can be
194[exported as constants](#export):
195
196- SCALAR
197
198    A scalar which is not a reference, such as `10` or `'hello'`. A
199    parameter that is undefined is **not** treated as a scalar. If you
200    want to allow undefined values, you will have to specify `SCALAR |
201    UNDEF`.
202
203- ARRAYREF
204
205    An array reference such as `[1, 2, 3]` or `\@foo`.
206
207- HASHREF
208
209    A hash reference such as `{ a => 1, b => 2 }` or `\%bar`.
210
211- CODEREF
212
213    A subroutine reference such as `\&foo_sub` or `sub { print "hello" }`.
214
215- GLOB
216
217    This one is a bit tricky. A glob would be something like `*FOO`, but
218    not `\*FOO`, which is a glob reference. It should be noted that this
219    trick:
220
221        my $fh = do { local *FH; };
222
223    makes `$fh` a glob, not a glob reference. On the other hand, the
224    return value from `Symbol::gensym` is a glob reference. Either can
225    be used as a file or directory handle.
226
227- GLOBREF
228
229    A glob reference such as `\*FOO`. See the [GLOB](https://metacpan.org/pod/GLOB) entry above
230    for more details.
231
232- SCALARREF
233
234    A reference to a scalar such as `\$x`.
235
236- UNDEF
237
238    An undefined value
239
240- OBJECT
241
242    A blessed reference.
243
244- BOOLEAN
245
246    This is a special option, and is just a shortcut for `UNDEF | SCALAR`.
247
248- HANDLE
249
250    This option is also special, and is just a shortcut for `GLOB |
251    GLOBREF`. However, it seems likely that most people interested in
252    either globs or glob references are likely to really be interested in
253    whether the parameter in question could be a valid file or directory
254    handle.
255
256To specify that a parameter must be of a given type when using named
257parameters, do this:
258
259    validate(
260        @_, {
261            foo => { type => SCALAR },
262            bar => { type => HASHREF }
263        }
264    );
265
266If a parameter can be of more than one type, just use the bitwise or
267(`|`) operator to combine them.
268
269    validate( @_, { foo => { type => GLOB | GLOBREF } );
270
271For positional parameters, this can be specified as follows:
272
273    validate_pos( @_, { type => SCALAR | ARRAYREF }, { type => CODEREF } );
274
275## Interface Validation
276
277To specify that a parameter is expected to have a certain set of
278methods, we can do the following:
279
280       validate(
281           @_, {
282               foo =>
283                   # just has to be able to ->bar
284                   { can => 'bar' }
285           }
286       );
287
288    ... or ...
289
290       validate(
291           @_, {
292               foo =>
293                   # must be able to ->bar and ->print
294                   { can => [qw( bar print )] }
295           }
296       );
297
298## Class Validation
299
300A word of warning. When constructing your external interfaces, it is
301probably better to specify what methods you expect an object to
302have rather than what class it should be of (or a child of). This
303will make your API much more flexible.
304
305With that said, if you want to validate that an incoming parameter
306belongs to a class (or child class) or classes, do:
307
308       validate(
309           @_,
310           { foo => { isa => 'My::Frobnicator' } }
311       );
312
313    ... or ...
314
315       validate(
316           @_,
317           # must be both, not either!
318           { foo => { isa => [qw( My::Frobnicator IO::Handle )] } }
319       );
320
321## Regex Validation
322
323If you want to specify that a given parameter must match a specific
324regular expression, this can be done with "regex" spec key. For
325example:
326
327    validate(
328        @_,
329        { foo => { regex => qr/^\d+$/ } }
330    );
331
332The value of the "regex" key may be either a string or a pre-compiled
333regex created via `qr`.
334
335If the value being checked against a regex is undefined, the regex is
336explicitly checked against the empty string ('') instead, in order to
337avoid "Use of uninitialized value" warnings.
338
339The `Regexp::Common` module on CPAN is an excellent source of regular
340expressions suitable for validating input.
341
342## Callback Validation
343
344If none of the above are enough, it is possible to pass in one or more
345callbacks to validate the parameter. The callback will be given the
346**value** of the parameter as its first argument. Its second argument
347will be all the parameters, as a reference to either a hash or array.
348Callbacks are specified as hash reference. The key is an id for the
349callback (used in error messages) and the value is a subroutine
350reference, such as:
351
352    validate(
353        @_,
354        {
355            foo => {
356                callbacks => {
357                    'smaller than a breadbox' => sub { shift() < $breadbox },
358                    'green or blue'           => sub {
359                        return 1 if $_[0] eq 'green' || $_[0] eq 'blue';
360                        die "$_[0] is not green or blue!";
361                    }
362                }
363            }
364        }
365    );
366
367    validate(
368        @_, {
369            foo => {
370                callbacks => {
371                    'bigger than baz' => sub { $_[0] > $_[1]->{baz} }
372                }
373            }
374        }
375    );
376
377The callback should return a true value if the value is valid. If not, it can
378return false or die. If you return false, a generic error message will be
379thrown by `Params::Validate`.
380
381If your callback dies instead you can provide a custom error message. If the
382callback dies with a plain string, this string will be appended to an
383exception message generated by `Params::Validate`. If the callback dies with
384a reference (blessed or not), then this will be rethrown as-is by
385`Params::Validate`.
386
387## Untainting
388
389If you want values untainted, set the "untaint" key in a spec hashref
390to a true value, like this:
391
392    my %p = validate(
393        @_, {
394            foo => { type => SCALAR, untaint => 1 },
395            bar => { type => ARRAYREF }
396        }
397    );
398
399This will untaint the "foo" parameter if the parameters are valid.
400
401Note that untainting is only done if _all parameters_ are valid.
402Also, only the return values are untainted, not the original values
403passed into the validation function.
404
405Asking for untainting of a reference value will not do anything, as
406`Params::Validate` will only attempt to untaint the reference itself.
407
408## Mandatory/Optional Revisited
409
410If you want to specify something such as type or interface, plus the
411fact that a parameter can be optional, do this:
412
413    validate(
414        @_, {
415            foo => { type => SCALAR },
416            bar => { type => ARRAYREF, optional => 1 }
417        }
418    );
419
420or this for positional parameters:
421
422    validate_pos(
423        @_,
424        { type => SCALAR },
425        { type => ARRAYREF, optional => 1 }
426    );
427
428By default, parameters are assumed to be mandatory unless specified as
429optional.
430
431## Dependencies
432
433It also possible to specify that a given optional parameter depends on
434the presence of one or more other optional parameters.
435
436    validate(
437        @_, {
438            cc_number => {
439                type     => SCALAR,
440                optional => 1,
441                depends  => [ 'cc_expiration', 'cc_holder_name' ],
442            },
443            cc_expiration  => { type => SCALAR, optional => 1 },
444            cc_holder_name => { type => SCALAR, optional => 1 },
445        }
446    );
447
448In this case, "cc\_number", "cc\_expiration", and "cc\_holder\_name" are
449all optional. However, if "cc\_number" is provided, then
450"cc\_expiration" and "cc\_holder\_name" must be provided as well.
451
452This allows you to group together sets of parameters that all must be
453provided together.
454
455The `validate_pos()` version of dependencies is slightly different,
456in that you can only depend on one other parameter. Also, if for
457example, the second parameter 2 depends on the fourth parameter, then
458it implies a dependency on the third parameter as well. This is
459because if the fourth parameter is required, then the user must also
460provide a third parameter so that there can be four parameters in
461total.
462
463`Params::Validate` will die if you try to depend on a parameter not
464declared as part of your parameter specification.
465
466## Specifying defaults
467
468If the `validate()` or `validate_pos()` functions are called in a list
469context, they will return a hash or containing the original parameters plus
470defaults as indicated by the validation spec.
471
472If the function is not called in a list context, providing a default
473in the validation spec still indicates that the parameter is optional.
474
475The hash or array returned from the function will always be a copy of
476the original parameters, in order to leave `@_` untouched for the
477calling function.
478
479Simple examples of defaults would be:
480
481    my %p = validate( @_, { foo => 1, bar => { default => 99 } } );
482
483    my @p = validate_pos( @_, 1, { default => 99 } );
484
485In scalar context, a hash reference or array reference will be
486returned, as appropriate.
487
488# USAGE NOTES
489
490## Validation failure
491
492By default, when validation fails `Params::Validate` calls
493`Carp::confess()`. This can be overridden by setting the `on_fail`
494option, which is described in the ["GLOBAL" OPTIONS](https://metacpan.org/pod/%22GLOBAL%22%20OPTIONS)
495section.
496
497## Method calls
498
499When using this module to validate the parameters passed to a method
500call, you will probably want to remove the class/object from the
501parameter list **before** calling `validate()` or `validate_pos()`.
502If your method expects named parameters, then this is necessary for
503the `validate()` function to actually work, otherwise `@_` will not
504be usable as a hash, because it will first have your object (or
505class) **followed** by a set of keys and values.
506
507Thus the idiomatic usage of `validate()` in a method call will look
508something like this:
509
510    sub method {
511        my $self = shift;
512
513        my %params = validate(
514            @_, {
515                foo => 1,
516                bar => { type => ARRAYREF },
517            }
518        );
519    }
520
521## Speeding Up Validation
522
523In most cases, the validation spec will remain the same for each call to a
524subroutine. In that case, you can speed up validation by defining the
525validation spec just once, rather than on each call to the subroutine:
526
527    my %spec = ( ... );
528    sub foo {
529        my %params = validate( @_, \%spec );
530    }
531
532You can also use the `state` feature to do this:
533
534    use feature 'state';
535
536    sub foo {
537        state $spec = { ... };
538        my %params = validate( @_, $spec );
539    }
540
541# "GLOBAL" OPTIONS
542
543Because the API for the `validate()` and `validate_pos()` functions does not
544make it possible to specify any options other than the validation spec, it is
545possible to set some options as pseudo-'globals'. These allow you to specify
546such things as whether or not the validation of named parameters should be
547case sensitive, for one example.
548
549These options are called pseudo-'globals' because these settings are
550**only applied to calls originating from the package that set the
551options**.
552
553In other words, if I am in package `Foo` and I call
554`validation_options()`, those options are only in effect when I call
555`validate()` from package `Foo`.
556
557While this is quite different from how most other modules operate, I
558feel that this is necessary in able to make it possible for one
559module/application to use Params::Validate while still using other
560modules that also use Params::Validate, perhaps with different
561options set.
562
563The downside to this is that if you are writing an app with a standard
564calling style for all functions, and your app has ten modules, **each
565module must include a call to `validation_options()`**. You could of
566course write a module that all your modules use which uses various
567trickery to do this when imported.
568
569## Options
570
571- normalize\_keys => $callback
572
573    This option is only relevant when dealing with named parameters.
574
575    This callback will be used to transform the hash keys of both the
576    parameters and the parameter spec when `validate()` or
577    `validate_with()` are called.
578
579    Any alterations made by this callback will be reflected in the
580    parameter hash that is returned by the validation function. For
581    example:
582
583        sub foo {
584            return validate_with(
585                params => \@_,
586                spec   => { foo => { type => SCALAR } },
587                normalize_keys =>
588                    sub { my $k = shift; $k =~ s/^-//; return uc $k },
589            );
590
591        }
592
593        %p = foo( foo => 20 );
594
595        # $p{FOO} is now 20
596
597        %p = foo( -fOo => 50 );
598
599        # $p{FOO} is now 50
600
601    The callback must return a defined value.
602
603    If a callback is given then the deprecated "ignore\_case" and
604    "strip\_leading" options are ignored.
605
606- allow\_extra => $boolean
607
608    If true, then the validation routine will allow extra parameters not
609    named in the validation specification. In the case of positional
610    parameters, this allows an unlimited number of maximum parameters
611    (though a minimum may still be set). Defaults to false.
612
613- on\_fail => $callback
614
615    If given, this callback will be called whenever a validation check
616    fails. It will be called with a single parameter, which will be a
617    string describing the failure. This is useful if you wish to have
618    this module throw exceptions as objects rather than as strings, for
619    example.
620
621    This callback is expected to `die()` internally. If it does not, the
622    validation will proceed onwards, with unpredictable results.
623
624    The default is to simply use the Carp module's `confess()` function.
625
626- stack\_skip => $number
627
628    This tells Params::Validate how many stack frames to skip when finding
629    a subroutine name to use in error messages. By default, it looks one
630    frame back, at the immediate caller to `validate()` or
631    `validate_pos()`. If this option is set, then the given number of
632    frames are skipped instead.
633
634- ignore\_case => $boolean
635
636    DEPRECATED
637
638    This is only relevant when dealing with named parameters. If it is
639    true, then the validation code will ignore the case of parameter
640    names. Defaults to false.
641
642- strip\_leading => $characters
643
644    DEPRECATED
645
646    This too is only relevant when dealing with named parameters. If this
647    is given then any parameters starting with these characters will be
648    considered equivalent to parameters without them entirely. For
649    example, if this is specified as '-', then `-foo` and `foo` would be
650    considered identical.
651
652# PER-INVOCATION OPTIONS
653
654The `validate_with()` function can be used to set the options listed
655above on a per-invocation basis. For example:
656
657    my %p = validate_with(
658        params => \@_,
659        spec   => {
660            foo => { type    => SCALAR },
661            bar => { default => 10 }
662        },
663        allow_extra => 1,
664    );
665
666In addition to the options listed above, it is also possible to set
667the option "called", which should be a string. This string will be
668used in any error messages caused by a failure to meet the validation
669spec.
670
671This subroutine will validate named parameters as a hash if the "spec"
672parameter is a hash reference. If it is an array reference, the
673parameters are assumed to be positional.
674
675    my %p = validate_with(
676        params => \@_,
677        spec   => {
678            foo => { type    => SCALAR },
679            bar => { default => 10 }
680        },
681        allow_extra => 1,
682        called      => 'The Quux::Baz class constructor',
683    );
684
685    my @p = validate_with(
686        params => \@_,
687        spec   => [
688            { type    => SCALAR },
689            { default => 10 }
690        ],
691        allow_extra => 1,
692        called      => 'The Quux::Baz class constructor',
693    );
694
695# DISABLING VALIDATION
696
697If the environment variable `PERL_NO_VALIDATION` is set to something
698true, then validation is turned off. This may be useful if you only
699want to use this module during development but don't want the speed
700hit during production.
701
702The only error that will be caught will be when an odd number of
703parameters are passed into a function/method that expects a hash.
704
705If you want to selectively turn validation on and off at runtime, you
706can directly set the `$Params::Validate::NO_VALIDATION` global
707variable. It is **strongly** recommended that you **localize** any
708changes to this variable, because other modules you are using may
709expect validation to be on when they execute. For example:
710
711    {
712        local $Params::Validate::NO_VALIDATION = 1;
713
714        # no error
715        foo( bar => 2 );
716    }
717
718    # error
719    foo( bar => 2 );
720
721    sub foo {
722        my %p = validate( @_, { foo => 1 } );
723        ...;
724    }
725
726But if you want to shoot yourself in the foot and just turn it off, go
727ahead!
728
729# SPECIFYING AN IMPLEMENTATION
730
731This module ships with two equivalent implementations, one in XS and one in
732pure Perl. By default, it will try to load the XS version and fall back to the
733pure Perl implementation as needed. If you want to request a specific version,
734you can set the `PARAMS_VALIDATE_IMPLEMENTATION` environment variable to
735either `XS` or `PP`. If the implementation you ask for cannot be loaded,
736then this module will die when loaded.
737
738# TAINT MODE
739
740The XS implementation of this module has some problems Under taint mode with
741versions of Perl before 5.14. If validation _fails_, then instead of getting
742the expected error message you'll get a message like "Insecure dependency in
743eval\_sv". This can be worked around by either untainting the arguments
744yourself, using the pure Perl implementation, or upgrading your Perl.
745
746# LIMITATIONS
747
748Right now there is no way (short of a callback) to specify that
749something must be of one of a list of classes, or that it must possess
750one of a list of methods. If this is desired, it can be added in the
751future.
752
753Ideally, there would be only one validation function. If someone
754figures out how to do this, please let me know.
755
756# SUPPORT
757
758Bugs may be submitted at [https://rt.cpan.org/Public/Dist/Display.html?Name=Params-Validate](https://rt.cpan.org/Public/Dist/Display.html?Name=Params-Validate) or via email to [bug-params-validate@rt.cpan.org](mailto:bug-params-validate@rt.cpan.org).
759
760I am also usually active on IRC as 'autarch' on `irc://irc.perl.org`.
761
762# SOURCE
763
764The source code repository for Params-Validate can be found at [https://github.com/houseabsolute/Params-Validate](https://github.com/houseabsolute/Params-Validate).
765
766# DONATIONS
767
768If you'd like to thank me for the work I've done on this module, please
769consider making a "donation" to me via PayPal. I spend a lot of free time
770creating free software, and would appreciate any support you'd care to offer.
771
772Please note that **I am not suggesting that you must do this** in order for me
773to continue working on this particular software. I will continue to do so,
774inasmuch as I have in the past, for as long as it interests me.
775
776Similarly, a donation made in this way will probably not make me work on this
777software much more, unless I get so many donations that I can consider working
778on free software full time (let's all have a chuckle at that together).
779
780To donate, log into PayPal and send money to autarch@urth.org, or use the
781button at [https://www.urth.org/fs-donation.html](https://www.urth.org/fs-donation.html).
782
783# AUTHORS
784
785- Dave Rolsky <autarch@urth.org>
786- Ilya Martynov <ilya@martynov.org>
787
788# CONTRIBUTORS
789
790- Andy Grundman <andyg@activestate.com>
791- Diab Jerius <djerius@cfa.harvard.edu>
792- E. Choroba <choroba@matfyz.cz>
793- Ivan Bessarabov <ivan@bessarabov.ru>
794- J.R. Mash <jmash.code@gmail.com>
795- Karen Etheridge <ether@cpan.org>
796- Noel Maddy <zhtwnpanta@gmail.com>
797- Olivier Mengué <dolmen@cpan.org>
798- Tony Cook <tony@develop-help.com>
799- Vincent Pit <perl@profvince.com>
800
801# COPYRIGHT AND LICENSE
802
803This software is Copyright (c) 2001 - 2020 by Dave Rolsky and Ilya Martynov.
804
805This is free software, licensed under:
806
807    The Artistic License 2.0 (GPL Compatible)
808
809The full text of the license can be found in the
810`LICENSE` file included with this distribution.
811