Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
temporary repository to illustrate an MXRP issue
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ChildRole.pm
Class.pm
ParentRole.pm
README
main.pl

README

Problem:

	ChildRole augments BUILD, but its augmentor is never called.

main.pl

	creates a new Class object.

Class

	This is just a class that consumes a parameterized role, ChildRole.
	All the action happens in ParentRole and ChildRole.

ParentRole

	A wrapper around MooseX::Role::Parameterized.  It's a pared-down
	representation of a larger, real role.

	In the real context, it does more, but for now it should only behave
	exactly like MooseX::Role::Parameterized.  For the most part it
	does.

ChildRole

	Not strictly a child role, but I had to name it something.

	It uses ParentRole as an equivalent to MooseX::Role::Parameterized.

	When using ParentRole, it's C<after BUILD ....> augmentor is not
	called.

	The agumentor is called correctly when ChildRole uses
	MooseX::Role::Parameterized directly.
Something went wrong with that request. Please try again.