autobo...ctions(3pm)

πŸ“¦
version 0.002 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ autobo...ctions(3pm) ✨

okay so bestie, you found a Perl manpage and it's giving niche but iconic. this one lives in the User Contributed Perl Documentation corner of the manual, and it's called autobox::Junctions. buckle up πŸŽ€


🌸 NAME 🌸

autobox::Junctions β€” autoboxified junction-style operators. literally what it says on the tin πŸ’…


πŸ’– VERSION πŸ’–

this doc describes version 0.002 of autobox::Junctions β€” dropped June 22, 2016, as part of the autobox-Junctions situation. vintage, but still slaying πŸ¦‹


✨ SYNOPSIS ✨

# somewhere above...
use autobox::Junctions;

# somewhere below...
my @explodey = qw{ bing bang boom };
warn "boom!\n"
    if @explody->any eq 'boom';

my $still_explody = [ @explodey ];
warn "not all explody\n"
    unless $still_explody->all eq 'boom';

# now, bonus points...
use autobox::Core;

my $weapons = {
    mateu => 'bow & arrow',     # fearsome hunter
    ether => 'disarming smile', # Canadian
    jnap  => 'shotgun',         # upstate NY
};

warn 'mateu is armed!'
    if $weapons->keys->any eq 'mateu'

warn '...but at least no one has a nuke'
    if $weapons->values->none eq 'nuke';

no cap, that's the whole vibe right there πŸ”₯


🌈 DESCRIPTION 🌈

so here's the tea β˜• β€” this module is a simple autoboxifying wrapper around Syntax::Keyword::Junction. it hands your arrays and array references the functions from that package, but as methods for arrays. the squad is: any, all, one, and none. that's it, that's the lineup πŸ‘‘


πŸ’… AUTOBOXED METHODS πŸ’…

go read the originals, bestie:

  • "any" in Syntax::Keyword::Junction
  • "all" in Syntax::Keyword::Junction
  • "one" in Syntax::Keyword::Junction
  • "none" in Syntax::Keyword::Junction

that's where all the real detail lives 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

please check out these modules/websites for more info related to this module:

  • Syntax::Keyword::Junction
  • autobox

two links, two legends, no notes πŸ’œ


πŸ’€ BUGS πŸ’€

found a bug? got a feature request? please report it on the bugtracker website:

https://github.com/RsrchBoy/autobox-Junctions/issues

and when you submit a bug or a request, please include a test-file or a patch to an existing test-file that illustrates the bug or the desired feature. fr fr, show me receipts πŸ™ˆ


πŸ‘‘ AUTHOR πŸ‘‘

Chris Weyl <cweyl@alumni.drew.edu>

πŸ“ I'm a material boy in a material world πŸ“

okay so, please note: I do not expect to be gittip'ed or flattr'ed for this work. it's just a very pleasant surprise. I largely create and release works like this because I need them or I find it enjoyable β€” however, don't let that stop you if you feel like it ;)

you can:

...If and only if you so desire. (the emphasis is his, and honestly? valid 🌸)


🧚 CONTRIBUTOR 🧚

Π‘Π΅Ρ€Π³Π΅ΠΉ Π ΠΎΠΌΠ°Π½ΠΎΠ² <sromanov-dev@yandex.ru>


This software is Copyright (c) 2013 by Chris Weyl.

This is free software, licensed under:

The GNU Lesser General Public License, Version 2.1, February 1999

and that's a wrap, bestie πŸŽ€ this whole page was rendered by perl v5.34.0, dated 2022-06-08, under the autobo...ctions(3pm) banner β€” so when you see that footer, just know you've reached the end of the scroll. mwah πŸ’–