Guest User

Untitled

a guest
Jul 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. package Sugar::Cane;
  2. # ABSTRACT: EXPERIMENTAL The base for a good sugar
  3.  
  4. use Moose ();
  5. use Moose::Exporter;
  6. use Data::Printer;
  7.  
  8. Moose::Exporter->setup_import_methods(
  9. as_is => [ 'p' ],
  10. with_meta => [ 'has' ],
  11. also => [ 'Moose' ],
  12. );
  13.  
  14. sub has { warn "Sugar::Cane::has"; Moose::has(@_); }
  15.  
  16. 1;
Add Comment
Please, Sign In to add comment