Tom Wyant
and 1 contributors

TITLE

valid-date-class - See whether a module can be used as a date class by __format().

SYNOPSIS

 valid-date-class Date::Tolkien::Shire
 valid-date-class -help
 valid-date-class -version

OPTIONS

-blib

If this Boolean option is asserted, the equivalent of use blib; is done before analyzing any modules speified.

-help

This option displays the documentation for this script. The script then exits.

-version

This option displays the version of this script. The script then exits.

DETAILS

The Date::Tolkien::Shire::Data __format() subroutine will take an object as its first argument, provided that object implements the proper methods.

This Perl script takes as its arguments the names of one or more Perl packages. Each package is loaded and checked to see if it has all the required methods. If it does not, the missing methods are listed. If it does, a success message it displayed.

The exit status is the number of packages that fail the test, or 250, whichever is smaller.

AUTHOR

Thomas R. Wyant, III wyant at cpan dot org

COPYRIGHT AND LICENSE

Copyright (C) 2017-2019 by Thomas R. Wyant, III

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.