Skip to content

Instantly share code, notes, and snippets.

@nothingmuch
Created May 20, 2009 07:33
Show Gist options
  • Select an option

  • Save nothingmuch/114676 to your computer and use it in GitHub Desktop.

Select an option

Save nothingmuch/114676 to your computer and use it in GitHub Desktop.
package MyFoo::Schema::Identity;
use Moose::Role;
has user => (
isa => "MyFoo::Schema::User",
is => "ro",
required => 1,
);
package MyFoo::Schema::Identity::Username;
use Moose;
with qw(
MyFoo::Schema::Identity
KiokuX::User
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment