Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Data::Perl::Code - Wrapping class for Perl coderefs.

Author

       Matthew Phillips <mattp@cpan.org>

Description

       This class is a simple consumer of the Data::Perl::Role::Code role, which provides all functionality. You
       probably want to look there instead.

Name

       Data::Perl::Code - Wrapping class for Perl coderefs.

Synopsis

         use Data::Perl qw/code/;

         my $code = code(sub { 'Foo'} );

         $code->execute(); # returns 'Foo';

Version

       version 0.002011

See Also