autobo...ctions(3pm)
β¨ 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::Junctionautobox
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:
- Flattr <https://flattr.com/submit/auto?user_id=RsrchBoy&url=https%3A%2F%2Fgithub.com%2FRsrchBoy%2Fautobox-Junctions&title=RsrchBoy's%20CPAN%20autobox-Junctions&tags=%22RsrchBoy's%20autobox-Junctions%20in%20the%20CPAN%22>
- Gratipay <https://gratipay.com/RsrchBoy/>
- or indulge my Amazon Wishlist <http://bit.ly/rsrchboys-wishlist>
...If and only if you so desire. (the emphasis is his, and honestly? valid πΈ)
π§ CONTRIBUTOR π§
Π‘Π΅ΡΠ³Π΅ΠΉ Π ΠΎΠΌΠ°Π½ΠΎΠ² <sromanov-dev@yandex.ru>
β COPYRIGHT AND LICENSE β
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 π
π¦ where this page comes from
- debian bookworm: libautobox-junctions-perl 0.002-2 Β· LGPL-2.1-only
- debian trixie: libautobox-junctions-perl 0.002-2 Β· LGPL-2.1-only
- ubuntu noble: libautobox-junctions-perl 0.002-2 Β· LGPL-2.1-only
- ubuntu resolute: libautobox-junctions-perl 0.002-2 Β· LGPL-2.1-only
- ubuntu stonking: libautobox-junctions-perl 0.002-2 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms