Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created September 11, 2011 00:01
Show Gist options
  • Save ingydotnet/1208978 to your computer and use it in GitHub Desktop.
Save ingydotnet/1208978 to your computer and use it in GitHub Desktop.
package Foo;
use Moo;
has x => (is => 'rw');
has y => (is => 'rw');
package main;
use XXX;
XXX 'Foo'->new;
----
--- !!perl/hash:Foo
x: ~
y: ~
...
at moo.pl line 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment