Dist-Zilla-Role-EnsureStash

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

            # profit!
        }

DESCRIPTION
    This is a Dist::Zilla role designed to ensure that if a plugin needs
    access to a stash, and that stash does not already exist, then it is
    automatically created and returned.

    This is more intended for helping plugins that need to share common data
    do so via stashes, rather than specific information (e.g. PAUSE
    credentials and the like). As such, the stash instances created here are
    expected to largely be able to do their thing without much (preferably
    any) external input.

REQUIRED METHODS
  our_stash_name
    Just as it sounds; should return something Dist::Zilla will recognize as
    a stash name (e.g. %SomeStash).

  our_stash_class
    This is expected to return the class name of the class to be created and

lib/Dist/Zilla/Role/EnsureStash.pm  view on Meta::CPAN

        # profit!
    }

=head1 DESCRIPTION

This is a L<Dist::Zilla> role designed to ensure that if a plugin needs access
to a stash, and that stash does not already exist, then it is automatically
created and returned.

This is more intended for helping plugins that need to share common data do so
via stashes, rather than specific information (e.g. PAUSE credentials and the
like).  As such, the stash instances created here are expected to largely be
able to do their thing without much (preferably any) external input.

=head1 REQUIRED METHODS

=head2 our_stash_name

Just as it sounds; should return something Dist::Zilla will recognize as a
stash name (e.g. C<%SomeStash>).



( run in 0.263 second using v1.01-cache-2.11-cpan-4d50c553e7e )