Acme::DWIM(3pm)

πŸ“¦
version 1.150 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ¦‹ Acme::DWIM πŸ’–

okay bestie, welcome to Acme::DWIM(3pm) β€” the module from the User Contributed Perl Documentation that makes Perl's most confusing-ahh operators feel like a lil spa day ✨. Yes it's real. Yes it's cursed. No we are not okay. 🫢


🌸 NAME 🌸

Acme::DWIM β€” Perl's confusing operators made easy πŸ’…


✨ SYNOPSIS ✨

        use Acme::DWIM;

        my ($x) = +("Hullo " x 3 . "world" & "~" x 30) =~ /(.*)/;
        $x =~ tr/tnv/uow/;
        print $x;

πŸ’– DESCRIPTION πŸ’–

so the very first time you run a program under use Acme::DWIM, the module goes through your source file and replaces all the unsightly operators et al. with the brand new DWIM operator: ... β€” pronounced "yadda yadda yadda" πŸŽ€ (iconic, honestly).

and the code? it keeps working exactly as it did before, it just looks like this now:

use Acme::DWIM;

        my ($x) ... ...("Hullo " ... 3 ... "world" ... "~" ... 30) ... /(...)/;
        $x ... tr/tnv/uow/;
        print $x;
heads up bestie, the ... operator ate the documentation too 😭 keep reading, it gets silly.

πŸ”₯ DIAGNOSTICS πŸ”₯

...head1 DIAGNOSTICS

...over 4

...item C...<Can't enDWIM '%s'>

Acme::DWIM could not access the source file to modify it.

"Can't DWIM '%s'"...
    Acme...DWIM could not access the source file to execute it...

no cap, the DWIM operator replaced the POD directives as well β€” that's not a typo, that's the bit πŸ’€


πŸ‘‘ AUTHOR πŸ‘‘

Damian Conway (as if you couldn't guess πŸ™ˆ)


   Copyright (c) 2001... Damian Conway... All Rights Reserved...
 This module is free software... It may be used... redistributed
and/or modified under the terms of the Perl Artistic License
     (see http...//www...perl...com/perl/misc/Artistic...html)

and then, obviously, a little starfield because why not 🌈:

~                    ~                    ~                    ~
                     ~          ~                    ~
~                     ~          ~                    ~
      ~                    ~          ~                    ~
                     ~                    ~          ~
~                     ~                    ~          ~
      ~                    ~                    ~          ~
                     ~                    ~                    ~
~                     ~                    ~                    ~
      ~                    ~                    ~                    ~
           ~                         ~          ~
~           ~                         ~          ~                    ~
           ~                         ~          ~                    ~
                     ~          ~                    ~          ~
                     ~          ~                    ~          ~
                     ~          ~               ~          ~
                     ~          ~                    ~          ~
                     ~          ~               ~          ~
                ~          ~                    ~          ~
                     ~          ~                    ~

<div align="center">✨ that's the whole page bestie ✨</div>

and for the sign-off: this beauty is from perl v5.36.0, dated 2022-10-13, and it's Acme::DWIM(3pm) πŸ’– go forth and ... responsibly πŸ¦‹

πŸ“¦ where this page comes from