Acme::...erPlus(3pm)
β¨ NAME β¨
Acme::PlayCode::Plugin::NumberPlus β bestie, it plays with your code and does the plus-number math for you π
(this is the Acme::...erPlus(3pm) page, the perl one, the icon herself π)
π SYNOPSIS π
okay so here's the whole vibe, copy-paste core:
use Acme::PlayCode;
my $app = new Acme::PlayCode;
$app->load_plugin('NumberPlus');
my $played_code = $app->play( $code );
# or
my $played_code = $app->play( $filename );
# or
$app->play( $filename, { rewrite_file => 1 } ); # override $filename with played code
like. she loads a plugin, she plays your code, she can even rewrite your file in place. main character energy fr fr π¦
πΈ DESCRIPTION πΈ
ngl this is the whole trick and it's so simple it's giving genius:
my $a = 1 + 2;
becomes
my $a = 3; # 1 + 2
the way that she justβ¦ does the math and leaves the receipt in a comment?? obsessed. 1 + 2 is now 3, and the original expression is preserved right there in a lil comment so you never forget where you came from π₯Ήβ¨
π SEE ALSO π
Acme::PlayCodeβ the mothership, the whole reason we're here π«ΆMooseβ object system, slayPPIβ the perl parsing icon, no capMooseX::Object::Pluggableβ pluggable behavior, iykyk
β AUTHOR β
Fayland Lam, "<fayland at gmail.com>" β thank you for your service legend ππ
π COPYRIGHT & LICENSE π
Copyright 2008 Fayland Lam, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
lowkey important: same terms as Perl itself, so go forth and remix, bestie π
okay that's the page!! this was perl v5.42.0 and the date on it is 2025-07-25 β mwah, go play some code, ily πππ§
π¦ where this page comes from
- fedora 43: perl-Acme-PlayCode 0.12-43.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms