1package Data::Perl::Code;
2$Data::Perl::Code::VERSION = '0.002011';
3# ABSTRACT: Wrapping class for Perl coderefs.
4
5use strictures 1;
6
7use Role::Tiny::With;
8
9with 'Data::Perl::Role::Code';
10
111;
12
13=pod
14
15=encoding UTF-8
16
17=head1 NAME
18
19Data::Perl::Code - Wrapping class for Perl coderefs.
20
21=head1 VERSION
22
23version 0.002011
24
25=head1 SYNOPSIS
26
27  use Data::Perl qw/code/;
28
29  my $code = code(sub { 'Foo'} );
30
31  $code->execute(); # returns 'Foo';
32
33=head1 DESCRIPTION
34
35This class is a simple consumer of the L<Data::Perl::Role::Code> role, which
36provides all functionality. You probably want to look there instead.
37
38=head1 AUTHOR
39
40Matthew Phillips <mattp@cpan.org>
41
42=head1 COPYRIGHT AND LICENSE
43
44This software is copyright (c) 2020 by Matthew Phillips <mattp@cpan.org>.
45
46This is free software; you can redistribute it and/or modify it under
47the same terms as the Perl 5 programming language system itself.
48
49=cut
50
51__END__
52==pod
53
54