Created
February 11, 2011 22:13
-
-
Save Getty/823148 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package Sugar::Cane; | |
| # ABSTRACT: EXPERIMENTAL The base for a good sugar | |
| use Moose (); | |
| use Moose::Exporter; | |
| use Data::Printer; | |
| Moose::Exporter->setup_import_methods( | |
| as_is => [ 'p' ], | |
| with_meta => [ 'has' ], | |
| also => [ 'Moose' ], | |
| ); | |
| sub has { warn "Sugar::Cane::has"; Moose::has(@_); } | |
| 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment