Data::Perl::Code(3pm)
π Data::Perl::Code π
okay bestie, so you know how there's a manual page called Data::Perl::Code(3pm) but like,,, nobody told you what it is? that's literally what i'm here for. it's the wrapping class for Perl coderefs, and it's lowkey adorable. periodt.
β¨ VERSION β¨
this one's rockin' version 0.002011 π
πΈ SYNOPSIS πΈ
the way that this is all you need, fr fr:
use Data::Perl qw/code/;
my $code = code(sub { 'Foo'} );
$code->execute(); # returns 'Foo';
like. look at that. $code->execute() hands you back 'Foo'. iconic behavior honestly πβ¨
π¦ DESCRIPTION π¦
so here's the tea π: this class is just a simple consumer of the Data::Perl::Role::Code role, and that role is the one doing literally ALL the heavy lifting β it provides all functionality. so if you actually want the goods, you probably wanna go peek over there instead. no cap. this page is basically the cute little storefront, the role is the whole entire mall π«Ά
π AUTHOR π
Matthew Phillips <mattp@cpan.org> β we stan π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2020 by Matthew Phillips <mattp@cpan.org>. β¨
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, open source rights π π
and that's the whole vibe, bestie!! this was Data::Perl::Code(3pm), delivered to you by perl v5.36.0 on 2022-10-16 β go forth and execute your coderefs responsibly, love u, bye ππ§β
π¦ where this page comes from
- ubuntu noble: libdata-perl-perl 0.002011-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdata-perl-perl 0.002011-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdata-perl-perl 0.002011-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms