Help for this page

Select Code to Download


  1. or download this
    # It's actually a lot more complex than this, but just
    # pretend it's this simple...
    ...
    sub HashRef () {   ### empty prototype
      return Moose::Meta::TypeConstraint->lookup('HashRef');
    }
    
  2. or download this
        isa => HashRef
    
  3. or download this
    package A;
    has data => (is => 'ro');
    package B;
    has data => (is => 'rw');