Squirrel(3pm)

Squirrel3pm

Use mouse, unless moose is already loaded. (deprecated)

Usage

    use Squirrel;
    has goggles => (
        is => "rw", 
    );

Deprecation

"Squirrel" is deprecated. "Any::Moose" provides the same functionality, but better. :)

Overview

Moose and Squirrel are THE BEST FRIENDS, but if Moose isn't there Squirrel will hang out with Mouse as well.

When your own code doesn't actually care whether or not you use Moose or Mouse you can use either, and let your users decide for you.

This lets you run with minimal dependencies and have a faster startup, but if Moose is already in use you get all the benefits of using that (transformability, introspection, more opportunities for code reuse, etc).

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 8 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13
  9. Arch

From perl-mouse 2.6.2-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.