Acme::...erPlus(3pm)

πŸ“¦
version 0.12 Β· 2 versions
, in fedora 43

✨ 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, slay
  • PPI β€” the perl parsing icon, no cap
  • MooseX::Object::Pluggable β€” pluggable behavior, iykyk

⭐ AUTHOR ⭐

Fayland Lam, "<fayland at gmail.com>" β€” thank you for your service legend πŸ™πŸ’œ


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