Skip to content

Instantly share code, notes, and snippets.

@bduggan
Created August 1, 2016 19:33
Show Gist options
  • Save bduggan/1161f423ed9d1ac36fd3e7996d0d6766 to your computer and use it in GitHub Desktop.
Save bduggan/1161f423ed9d1ac36fd3e7996d0d6766 to your computer and use it in GitHub Desktop.
class Dee is Date {
has &!formatter = sub { "foo" };
}
say Dee.new('2014-01-01');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment