<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Module::Requires - Checks to see if the module can be loaded

SYNOPSIS
    more simply

      use Module::Requires 'Class::Trigger', 'Class::Accessor';
      use Class::Trigger;
      use Class::Accessor;

    with version Checks

      use Module::Requires
        'Class::Trigger' =&gt; 0.13,
        'Class::Accessor';
      use Class::Trigger;
      use Class::Accessor;

    detailed check of version # It is more than 0.10 and is except 0.12. use
    Module::Requires 'Class::Trigger' =&gt; [ '&gt;' =&gt; 0.10, '!=', 0.12 ],
    'Class::Accessor'; use Class::Trigger; use Class::Accessor;

    with autoloader

      use Module::Requires -autoload,
        'Class::Trigger', 'Class::Accessor';

    with autoloader and import params

      use Module::Requires -autoload,
        'Class::Trigger' =&gt; { import =&gt; [qw/ foo bar baz /] },
        'Class::Accessor';

    with autoloader and import params and version check

      use Module::Requires -autoload,
        'Class::Trigger' =&gt; {
            import  =&gt; [qw/ foo bar baz /],
            version =&gt; [ '&gt;' =&gt; 0.10, '!=', 0.12 ],
        },
        'Class::Accessor';

DESCRIPTION
    Module::Requires is Checks to see if the module can be loaded.

    required modules warns of not installed if Inside of Makefile.PL With
    feature When specifying require module.

    When writing modules, such as plugin, required modules which runs short
    is displayed on a user.

AUTHOR
    Kazuhiro Osawa &lt;yappo &lt;at&gt; shibuya &lt;dأ¶t&gt; pl&gt;

THANKS TO
    nekokak, lestrrat

SEE ALSO
    Test::Requires, idea by DBIx::Class::Storage::DBI::Replicated

LICENSE
    This library is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

</pre></body></html>