Acme::PlayCode(3pm)

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

πŸ’– 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:

  • Moose
  • PPI
  • MooseX::Object::Pluggable

πŸ‘‘ AUTHOR πŸ‘‘

Fayland Lam, "<fayland at gmail.com>" πŸ’–


🫢 ACKNOWLEDGEMENTS 🫢

  • The Moose Team. iconic, no notes πŸ¦‹
  • Jens Rehsack, for the description (RT 53680) 🌸

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