Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I pointed out a couple of weeks ago on a thread you started [1], that Any::Moose really doesn't seem to be able to solve the problem that I perceive is claimed of it.

    Under what circumstances will a CPAN module switching to using Any::Moose help?

    [1] []

    Take the instance that one of your dependencies starts using Moose: unless you get really lucky and it happens to load before anything using Any::Moose, then the only way to ensure Any::Moose correctly uses Moose rather than Mouse is to keep track of all your dependencies, and every time you update any cpan module, check whether '' has sneaked into your %INC.
    And then add "use Moose" to your main program, to ensure it's loaded before any "use Any::Moose" statement.

    Now, if you have a thorough application test suite which you run after any upgrade, it's arguable whether or not it's really a problem that parts of the code uses Moose, and other parts Mouse.

    But I would argue that Mouse + Any::Moose only have a legitimate place in end-users' application code, and not cpan modules.

    • Before I go either side, which of Mouse or Moose alone makes more sense than using Any::Moose? Just checking.