| 1 | use 5.14.0; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | |||
| 5 | |||
| 6 | package CairoX::Sweet::Standard { | ||
| 7 | |||
| 8 | our $VERSION = '0.0108'; # VERSION | ||
| 9 | |||
| 10 | use base 'Moops'; | ||
| 11 | use Types::CairoX::Sweet(); | ||
| 12 | use MooseX::StrictConstructor(); | ||
| 13 | use List::AllUtils(); | ||
| 14 | use Path::Tiny(); | ||
| 15 | |||
| 16 | sub import { | ||
| 17 | my $class = shift; | ||
| 18 | my %opts = @_; | ||
| 19 | |||
| 20 | push @{ $opts{'imports'} ||= [] } => ( | ||
| 21 | 'Types::CairoX::Sweet' => [{ replace => 1 }, '-types'], | ||
| 22 | 'MooseX::StrictConstructor' => [], | ||
| 23 | 'List::AllUtils' => [qw/any sum zip/], | ||
| 24 | 'Path::Tiny' => ['path'], | ||
| 25 | ); | ||
| 26 | |||
| 27 | $class->SUPER::import(%opts); | ||
| 28 | } | ||
| 29 | } | ||
| 30 | |||
| 31 | 1; | ||
| 32 | |||
| 33 | __END__ | ||
| 34 | |||
| 35 | =pod | ||
| 36 | |||
| 37 | =encoding UTF-8 | ||
| 38 | |||
| 39 | =head1 NAME | ||
| 40 | |||
| 41 | CairoX::Sweet::Standard | ||
| 42 | |||
| 43 | =head1 VERSION | ||
| 44 | |||
| 45 | Version 0.0108, released 2015-03-21. | ||
| 46 | |||
| 47 | =head1 SOURCE | ||
| 48 | |||
| 49 | L<https://github.com/Csson/p5-CairoX-Sweet> | ||
| 50 | |||
| 51 | =head1 HOMEPAGE | ||
| 52 | |||
| 53 | L<https://metacpan.org/release/CairoX-Sweet> | ||
| 54 | |||
| 55 | =head1 AUTHOR | ||
| 56 | |||
| 57 | Erik Carlsson <info@code301.com> | ||
| 58 | |||
| 59 | =head1 COPYRIGHT AND LICENSE | ||
| 60 | |||
| 61 | This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>. | ||
| 62 | |||
| 63 | This is free software; you can redistribute it and/or modify it under | ||
| 64 | the same terms as the Perl 5 programming language system itself. | ||
| 65 | |||
| 66 | =cut |