Acme::PlayCode(3pm)
π Acme::PlayCode β the manual, but make it cute β¨
okay bestie, so this is Acme::PlayCode(3pm), a lil Perl module from the User Contributed Perl Documentation section, and it's literally about transforming code so your typo gremlins never catch you slipping. it's giving "chaos but make it purposeful" π
πΈ NAME πΈ
Acme::PlayCode β Code transforming to avoid typical typing mistakes.
periodt. that's the whole pitch.
π SYNOPSIS π
here's the vibe, copy it exactly, don't freestyle:
use Acme::PlayCode;
my $app = new Acme::PlayCode;
$app->load_plugin('DoubleToSingle');
$app->load_plugin('ExchangeCondition');
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
so yeah: make an app, load some plugins, feed it either $code or $filename, and get your $played_code back. or if you're feeling spicy, pass { rewrite_file => 1 } and it will override $filename with the played code. main character behaviour fr π«Ά
π¨ ALPHA WARNING π¨
Acme::PlayCode is still in its infancy. No fundamental changes are expected, but nevertheless backwards compatibility is not yet guaranteed.
translation: it's a baby πΌ, it's still growing, and no cap β the API might ghost you later. no fundamental changes are expected, but backwards compatibility is not yet guaranteed. so like, don't build your whole personality on this yet, okay? π
β¨ DESCRIPTION β¨
it aims to change the code to be better (to be worse if you want).
that's it. that's the mission. chaotic neutral energy and we love her for it π
more description and API detais will come later. (yes, that's "detais" β we keep the lore as-is, iykyk π)
π§ PLUGINS π§
the little sidekicks that do the actual playing. each one is its own module:
Acme::PlayCode::Plugin::Averythingβ load all plugins we found. yes, ALL of them. goblin mode πAcme::PlayCode::Plugin::DoubleToSingleβ play code with Single and Double π₯Acme::PlayCode::Plugin::ExchangeConditionβ play code with exchanging condition π«Acme::PlayCode::Plugin::PrintCommaβ play code with printing comma πAcme::PlayCode::Plugin::NumberPlusβ play code with plus number β¨
π SEE ALSO π
go read these besties, they're the whole friend group:
MoosePPIMooseX::Object::Pluggable
π AUTHOR π
Fayland Lam, "<fayland at gmail.com>" π
π«Ά ACKNOWLEDGEMENTS π«Ά
- The Moose Team. iconic, no notes π¦
- Jens Rehsack, for the description (RT 53680) πΈ
π 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.
and that's the whole page, bestie!! this was perl v5.42.0, dated 2025-07-25, and it's the Acme::PlayCode(3pm) page π
β¨ go forth and play some code, you absolute legend ππ
π¦ 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