Skip to content

Instantly share code, notes, and snippets.

@autarch
Created September 11, 2013 20:13
Show Gist options
  • Save autarch/6529143 to your computer and use it in GitHub Desktop.
Save autarch/6529143 to your computer and use it in GitHub Desktop.
{
package Foo;
use Moose;
has foo => (
traits => ['Array'],
default => sub { [] },
handles => { swozzle => 'swozzle' },
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment