Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't enable strict or warnings with 'use Moose 3;' #186

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Nov 2, 2024

  1. add new version_callback facility to Moose::Exporter

    If given a version_callback argument, Moose::Exporter will also produce
    (or install) a VERSION method which will perform the core version check
    but also call an arbitrary callback.
    haarg committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    f0cc746 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. make "use Moose 3;" skip enabling strict

    Using the version_callback feature, skip enabling strict and warnings if
    Moose version 3 is requested. Any other module that uses Moose::Exporter
    will continue to enable strict and warnings, as they are outside Moose
    and don't follow its versioning.
    haarg committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    c3f18a6 View commit details
    Browse the repository at this point in the history
  2. bump version to 3

    haarg committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    2a6ed55 View commit details
    Browse the repository at this point in the history